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

Unified Diff: system_logging_mock.h

Issue 6517001: crash-reporter: Use standard logging and new libchromeos Process code (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crash-reporter.git@master
Patch Set: More comments Created 9 years, 10 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 | « system_logging.cc ('k') | system_logging_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: system_logging_mock.h
diff --git a/system_logging_mock.h b/system_logging_mock.h
deleted file mode 100644
index 56c6e5836273e405807b8f09dda1c32c26de15d3..0000000000000000000000000000000000000000
--- a/system_logging_mock.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CRASH_REPORTER_SYSTEM_LOGGING_MOCK_H_
-#define CRASH_REPORTER_SYSTEM_LOGGING_MOCK_H_
-
-#include <string>
-
-#include "crash-reporter/system_logging.h"
-
-class SystemLoggingMock : public SystemLogging {
- public:
- void Initialize(const char *ident) {}
- virtual void LogInfo(const char *format, ...);
- virtual void LogWarning(const char *format, ...);
- virtual void LogError(const char *format, ...);
- virtual void set_accumulating(bool value);
- virtual std::string get_accumulator();
-
- const std::string &log() { return log_; }
-
- void clear() { log_.clear(); }
-
- private:
- static std::string identity_;
- std::string log_;
- std::string ident_;
-};
-
-#endif // CRASH_REPORTER_SYSTEM_LOGGING_H_
« no previous file with comments | « system_logging.cc ('k') | system_logging_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698