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

Unified Diff: bench/SkBenchLogger.cpp

Issue 347823004: Remove Sk prefix from some bench classes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: SkGMBench -> GMBench Created 6 years, 6 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 | « bench/SkBenchLogger.h ('k') | bench/SkBenchmark.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/SkBenchLogger.cpp
diff --git a/bench/SkBenchLogger.cpp b/bench/SkBenchLogger.cpp
deleted file mode 100644
index 7cda32772c04f907b092896c1c5b90105ec7e252..0000000000000000000000000000000000000000
--- a/bench/SkBenchLogger.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "SkBenchLogger.h"
-#include "SkStream.h"
-
-SkBenchLogger::SkBenchLogger()
-: fFileStream(NULL) {}
-
-SkBenchLogger::~SkBenchLogger() {
- if (fFileStream) {
- SkDELETE(fFileStream);
- }
-}
-
-bool SkBenchLogger::SetLogFile(const char *file) {
- fFileStream = SkNEW_ARGS(SkFILEWStream, (file));
- return fFileStream->isValid();
-}
-
-void SkBenchLogger::fileWrite(const char msg[], size_t size) {
- if (fFileStream && fFileStream->isValid()) {
- fFileStream->write(msg, size);
- }
-}
« no previous file with comments | « bench/SkBenchLogger.h ('k') | bench/SkBenchmark.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698