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

Unified Diff: system_logging_mock.h

Issue 3755011: crash-reporter: Avoid using system to invoke core2md (Closed) Base URL: http://git.chromium.org/git/crash-reporter.git
Patch Set: Created 10 years, 2 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 | « no previous file | user_collector.h » ('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
index 639fe42571fcc5918d238b17ed33121918995490..f4fb1334349ec02a79faa429fa934d1e466bc2c9 100644
--- a/system_logging_mock.h
+++ b/system_logging_mock.h
@@ -18,6 +18,8 @@ class SystemLoggingMock : public SystemLogging {
const std::string &log() { return log_; }
+ void clear() { log_.clear(); }
+
private:
static std::string identity_;
std::string log_;
« no previous file with comments | « no previous file | user_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698