Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: voice_engine/statistics.h

Issue 3020473002: Remove voe::Statistics. (Closed)
Patch Set: rebase Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « voice_engine/shared_data.cc ('k') | voice_engine/statistics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/statistics.h
diff --git a/voice_engine/statistics.h b/voice_engine/statistics.h
deleted file mode 100644
index 4f705266a2f17f509130d6c95f3772c8c5ce5d60..0000000000000000000000000000000000000000
--- a/voice_engine/statistics.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef VOICE_ENGINE_STATISTICS_H_
-#define VOICE_ENGINE_STATISTICS_H_
-
-#include "common_types.h" // NOLINT(build/include)
-#include "rtc_base/criticalsection.h"
-#include "typedefs.h" // NOLINT(build/include)
-#include "voice_engine/include/voe_errors.h"
-#include "voice_engine/voice_engine_defines.h"
-
-namespace webrtc {
-namespace voe {
-
-class Statistics
-{
- public:
- enum {KTraceMaxMessageSize = 256};
- public:
- Statistics(uint32_t instanceId);
- ~Statistics();
-
- int32_t SetInitialized();
- int32_t SetUnInitialized();
- bool Initialized() const;
- int32_t SetLastError(int32_t error) const;
- int32_t SetLastError(int32_t error, TraceLevel level) const;
- int32_t SetLastError(int32_t error,
- TraceLevel level,
- const char* msg) const;
-
- private:
- rtc::CriticalSection lock_;
- const uint32_t _instanceId;
- mutable int32_t _lastError;
- bool _isInitialized;
-};
-
-} // namespace voe
-
-} // namespace webrtc
-
-#endif // VOICE_ENGINE_STATISTICS_H_
« no previous file with comments | « voice_engine/shared_data.cc ('k') | voice_engine/statistics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698