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

Side by Side Diff: chrome/installer/util/chrome_app_host_distribution.h

Issue 23258005: Give SxS distribution its own registration GUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move typedef Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file extends the browser distribution with a specific implementation 5 // This file extends the browser distribution with a specific implementation
6 // for Chrome AppHost. 6 // for Chrome AppHost.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_
9 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ 9 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_
10 10
11 #include "chrome/installer/util/browser_distribution.h" 11 #include "chrome/installer/util/browser_distribution.h"
12 #include "chrome/installer/util/util_constants.h" 12 #include "chrome/installer/util/util_constants.h"
13 13
14 class ChromeAppHostDistribution : public BrowserDistribution { 14 class ChromeAppHostDistribution : public BrowserDistribution {
15 public: 15 public:
16 virtual string16 GetAppGuid() OVERRIDE; 16 virtual string16 GetAppGuid() OVERRIDE;
17 17
18 virtual string16 GetDisplayName() OVERRIDE; 18 virtual string16 GetDisplayName() OVERRIDE;
19 19
20 virtual string16 GetBrowserProgIdPrefix() OVERRIDE;
21
22 virtual string16 GetBrowserProgIdDesc() OVERRIDE;
23
20 // This can only be called with SHORTCUT_APP_LAUNCHER for |shortcut_type|. 24 // This can only be called with SHORTCUT_APP_LAUNCHER for |shortcut_type|.
21 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; 25 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE;
22 26
23 virtual string16 GetIconFilename() OVERRIDE; 27 virtual string16 GetIconFilename() OVERRIDE;
24 28
25 virtual string16 GetBaseAppName() OVERRIDE; 29 virtual string16 GetBaseAppName() OVERRIDE;
26 30
27 virtual string16 GetBaseAppId() OVERRIDE; 31 virtual string16 GetBaseAppId() OVERRIDE;
28 32
29 virtual string16 GetInstallSubDir() OVERRIDE; 33 virtual string16 GetInstallSubDir() OVERRIDE;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 installer::InstallStatus install_status) OVERRIDE; 66 installer::InstallStatus install_status) OVERRIDE;
63 67
64 protected: 68 protected:
65 friend class BrowserDistribution; 69 friend class BrowserDistribution;
66 70
67 // Disallow construction from non-friends. 71 // Disallow construction from non-friends.
68 ChromeAppHostDistribution(); 72 ChromeAppHostDistribution();
69 }; 73 };
70 74
71 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ 75 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698