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

Unified Diff: skia/ext/image_operations_bench.cc

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « remoting/host/win/wts_session_process_delegate.h ('k') | sync/test/local_sync_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/image_operations_bench.cc
diff --git a/skia/ext/image_operations_bench.cc b/skia/ext/image_operations_bench.cc
index 78e127db0f5b3f76e4b878cc6f146bc4f85caf94..617c46416373e4e5c5105c33c94846db47087759 100644
--- a/skia/ext/image_operations_bench.cc
+++ b/skia/ext/image_operations_bench.cc
@@ -144,7 +144,7 @@ class Benchmark {
method_(kDefaultResizeMethod) {}
// Returns true if command line parsing was successful, false otherwise.
- bool ParseArgs(const CommandLine* command_line);
+ bool ParseArgs(const base::CommandLine* command_line);
// Returns true if successful, false otherwise.
bool Run() const;
@@ -176,11 +176,11 @@ void Benchmark::Usage() {
printf("\n -help: prints this help and exits\n");
}
-bool Benchmark::ParseArgs(const CommandLine* command_line) {
- const CommandLine::SwitchMap& switches = command_line->GetSwitches();
+bool Benchmark::ParseArgs(const base::CommandLine* command_line) {
+ const base::CommandLine::SwitchMap& switches = command_line->GetSwitches();
bool fNeedHelp = false;
- for (CommandLine::SwitchMap::const_iterator iter = switches.begin();
+ for (base::CommandLine::SwitchMap::const_iterator iter = switches.begin();
iter != switches.end();
++iter) {
const std::string& s = iter->first;
@@ -262,14 +262,14 @@ bool Benchmark::Run() const {
class CommandLineAutoReset {
public:
CommandLineAutoReset(int argc, char** argv) {
- CommandLine::Init(argc, argv);
+ base::CommandLine::Init(argc, argv);
}
~CommandLineAutoReset() {
- CommandLine::Reset();
+ base::CommandLine::Reset();
}
- const CommandLine* Get() const {
- return CommandLine::ForCurrentProcess();
+ const base::CommandLine* Get() const {
+ return base::CommandLine::ForCurrentProcess();
}
};
« no previous file with comments | « remoting/host/win/wts_session_process_delegate.h ('k') | sync/test/local_sync_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698