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

Unified Diff: chrome/browser/ui/app_list/app_list_service.cc

Issue 816403003: 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 | « chrome/browser/translate/translate_service.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_service.cc
diff --git a/chrome/browser/ui/app_list/app_list_service.cc b/chrome/browser/ui/app_list/app_list_service.cc
index 22e8e862f5f4ad061555bd935e2f1ac7e7263090..9c1484cc2c2cb14c3e4d2971abb3f6a5e99973d6 100644
--- a/chrome/browser/ui/app_list/app_list_service.cc
+++ b/chrome/browser/ui/app_list/app_list_service.cc
@@ -30,7 +30,7 @@ enum ProfileLoadState {
PROFILE_LOADED_NONE,
};
-base::Time GetOriginalProcessStartTime(const CommandLine& command_line) {
+base::Time GetOriginalProcessStartTime(const base::CommandLine& command_line) {
if (command_line.HasSwitch(switches::kOriginalProcessStartTime)) {
std::string start_time_string =
command_line.GetSwitchValueASCII(switches::kOriginalProcessStartTime);
@@ -48,7 +48,7 @@ base::Time GetOriginalProcessStartTime(const CommandLine& command_line) {
#endif
}
-StartupType GetStartupType(const CommandLine& command_line) {
+StartupType GetStartupType(const base::CommandLine& command_line) {
// The presence of kOriginalProcessStartTime implies that another process
// has sent us its command line to handle, ie: we are already running.
if (command_line.HasSwitch(switches::kOriginalProcessStartTime)) {
@@ -97,7 +97,7 @@ void RecordFirstPaintTiming() {
}
void RecordStartupInfo(AppListService* service,
- const CommandLine& command_line,
+ const base::CommandLine& command_line,
Profile* launch_profile) {
base::Time start_time = GetOriginalProcessStartTime(command_line);
if (start_time.is_null())
« no previous file with comments | « chrome/browser/translate/translate_service.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698