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

Unified Diff: system_logging_mock.cc

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_mock.h ('k') | test_helpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: system_logging_mock.cc
diff --git a/system_logging_mock.cc b/system_logging_mock.cc
deleted file mode 100644
index 04ce853b7e74f65fdd57854f0804e7ada339bbba..0000000000000000000000000000000000000000
--- a/system_logging_mock.cc
+++ /dev/null
@@ -1,42 +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.
-
-#include <stdarg.h>
-
-#include "base/string_util.h"
-#include "crash-reporter/system_logging_mock.h"
-
-void SystemLoggingMock::LogInfo(const char *format, ...) {
- va_list vl;
- va_start(vl, format);
- log_ += ident_ + "info: ";
- StringAppendV(&log_, format, vl);
- log_ += "\n";
- va_end(vl);
-}
-
-void SystemLoggingMock::LogWarning(const char *format, ...) {
- va_list vl;
- va_start(vl, format);
- log_ += ident_ + "warning: ";
- StringAppendV(&log_, format, vl);
- log_ += "\n";
- va_end(vl);
-}
-
-void SystemLoggingMock::LogError(const char *format, ...) {
- va_list vl;
- va_start(vl, format);
- log_ += ident_ + "error: ";
- StringAppendV(&log_, format, vl);
- log_ += "\n";
- va_end(vl);
-}
-
-void SystemLoggingMock::set_accumulating(bool value) {
-}
-
-std::string SystemLoggingMock::get_accumulator() {
- return "";
-}
« no previous file with comments | « system_logging_mock.h ('k') | test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698