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

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

Issue 10542031: Suffix Chrome's appid on user-level installs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove install logic order changes and modify naming/comments Created 8 years, 6 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
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index b92d4094b1ed9162f45703387239297573ed48db..110f5529189435813b8346b159f3d14584c6aaec 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -534,8 +534,9 @@ void Browser::InitBrowserWindow() {
// name. See http://crbug.com/7028.
ui::win::SetAppIdForWindow(
is_app() && !is_type_panel() ?
- ShellIntegration::GetAppId(UTF8ToWide(app_name_), profile_->GetPath()) :
- ShellIntegration::GetChromiumAppId(profile_->GetPath()),
+ ShellIntegration::GetAppModelId(UTF8ToWide(app_name_),
+ profile_->GetPath()) :
grt (UTC plus 2) 2012/06/15 19:24:07 nit: indentation (does it fit on the previous line
gab 2012/06/15 19:29:59 Done (no doesn't fit above).
+ ShellIntegration::GetChromiumModelId(profile_->GetPath()),
window()->GetNativeWindow());
if (is_type_panel()) {

Powered by Google App Engine
This is Rietveld 408576698