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

Unified Diff: chrome/browser/ui/browser_init.cc

Issue 8526017: Append parameters to webstore URL to indicate launch source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
Index: chrome/browser/ui/browser_init.cc
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc
index 2a4f22701c9703d16434212e4641892f8bb2eb7a..c99aa09f8eb12c7d1a0f1861573f3c14f738aecf 100644
--- a/chrome/browser/ui/browser_init.cc
+++ b/chrome/browser/ui/browser_init.cc
@@ -812,7 +812,7 @@ bool BrowserInit::LaunchWithProfile::OpenApplicationTab(Profile* profile) {
RecordCmdLineAppHistogram();
- TabContents* app_tab = Browser::OpenApplicationTab(profile, extension,
+ TabContents* app_tab = Browser::OpenApplicationTab(profile, extension, GURL(),
NEW_FOREGROUND_TAB);
return (app_tab != NULL);
}
@@ -841,7 +841,7 @@ bool BrowserInit::LaunchWithProfile::OpenApplicationWindow(Profile* profile) {
RecordCmdLineAppHistogram();
TabContents* tab_in_app_window = Browser::OpenApplication(
- profile, extension, launch_container, NEW_WINDOW);
+ profile, extension, launch_container, GURL(), NEW_WINDOW);
return (tab_in_app_window != NULL);
}

Powered by Google App Engine
This is Rietveld 408576698