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

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

Issue 598463002: Move --custom-launcher-page switch into app_list_switches.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | chrome/common/chrome_switches.h » ('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_view_delegate.cc
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
index af012b2907019a935f8a740d7c3db45874cb71fb..06c4ef977d9e16e1a9b4edc3536d42879ec88491 100644
--- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
@@ -115,9 +115,9 @@ void GetCustomLauncherPageUrls(content::BrowserContext* browser_context,
// First, check the command line.
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (app_list::switches::IsExperimentalAppListEnabled() &&
- command_line->HasSwitch(switches::kCustomLauncherPage)) {
- GURL custom_launcher_page_url(
- command_line->GetSwitchValueASCII(switches::kCustomLauncherPage));
+ command_line->HasSwitch(app_list::switches::kCustomLauncherPage)) {
+ GURL custom_launcher_page_url(command_line->GetSwitchValueASCII(
+ app_list::switches::kCustomLauncherPage));
if (custom_launcher_page_url.SchemeIs(extensions::kExtensionScheme)) {
urls->push_back(custom_launcher_page_url);
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698