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

Unified Diff: tools/perf/clear_system_cache/clear_system_cache_main.cc

Issue 819223002: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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 | « tools/ipc_fuzzer/replay/replay_process.cc ('k') | tools/set_default_handler/set_default_handler_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/clear_system_cache/clear_system_cache_main.cc
diff --git a/tools/perf/clear_system_cache/clear_system_cache_main.cc b/tools/perf/clear_system_cache/clear_system_cache_main.cc
index e5f08a15f45f2b42724f8d7c16eb7a8a2e3f5fc7..7b26055c90250c08e53d4e607b7783c97f5f4e96 100644
--- a/tools/perf/clear_system_cache/clear_system_cache_main.cc
+++ b/tools/perf/clear_system_cache/clear_system_cache_main.cc
@@ -22,10 +22,11 @@ void ClearCacheForFile(const base::FilePath& path) {
}
int main(int argc, const char* argv[]) {
- CommandLine::Init(argc, argv);
- const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
+ base::CommandLine::Init(argc, argv);
+ const base::CommandLine& parsed_command_line =
+ *base::CommandLine::ForCurrentProcess();
bool should_recurse = parsed_command_line.HasSwitch("recurse");
- const CommandLine::StringVector& args = parsed_command_line.GetArgs();
+ const base::CommandLine::StringVector& args = parsed_command_line.GetArgs();
if (args.size() < 1) {
printf("USAGE: %s [--recurse] <files or directories>\n", argv[0]);
« no previous file with comments | « tools/ipc_fuzzer/replay/replay_process.cc ('k') | tools/set_default_handler/set_default_handler_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698