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

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

Issue 23258005: Give SxS distribution its own registration GUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed IsSetAsDefaultSupported() and GetCommandExecuteImplClsid(), and other minor cleanup. 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 declares a class that contains various method related to branding. 5 // This file declares a class that contains various method related to branding.
6 6
7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ 7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ 8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "chrome/installer/util/browser_distribution.h" 12 #include "chrome/installer/util/browser_distribution.h"
13 13
14 class ChromiumBinariesDistribution : public BrowserDistribution { 14 class ChromiumBinariesDistribution : public BrowserDistribution {
15 public: 15 public:
16 virtual string16 GetAppGuid() OVERRIDE; 16 virtual string16 GetAppGuid() OVERRIDE;
17 17
18 virtual string16 GetBrowserProgIdPrefix() OVERRIDE;
19
18 virtual string16 GetDisplayName() OVERRIDE; 20 virtual string16 GetDisplayName() OVERRIDE;
19 21
20 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; 22 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE;
21 23
22 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; 24 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE;
23 25
24 virtual string16 GetBaseAppName() OVERRIDE; 26 virtual string16 GetBaseAppName() OVERRIDE;
25 27
26 virtual string16 GetBaseAppId() OVERRIDE; 28 virtual string16 GetBaseAppId() OVERRIDE;
27 29
(...skipping 14 matching lines...) Expand all
42 virtual string16 GetUninstallLinkName() OVERRIDE; 44 virtual string16 GetUninstallLinkName() OVERRIDE;
43 45
44 virtual string16 GetUninstallRegPath() OVERRIDE; 46 virtual string16 GetUninstallRegPath() OVERRIDE;
45 47
46 virtual string16 GetVersionKey() OVERRIDE; 48 virtual string16 GetVersionKey() OVERRIDE;
47 49
48 virtual bool CanSetAsDefault() OVERRIDE; 50 virtual bool CanSetAsDefault() OVERRIDE;
49 51
50 virtual bool GetChromeChannel(string16* channel) OVERRIDE; 52 virtual bool GetChromeChannel(string16* channel) OVERRIDE;
51 53
52 virtual bool GetCommandExecuteImplClsid( 54 virtual bool GetCommandExecuteImplClsidString(
53 string16* handler_class_uuid) OVERRIDE; 55 string16* handler_class_uuid) OVERRIDE;
54 56
55 protected: 57 protected:
56 friend class BrowserDistribution; 58 friend class BrowserDistribution;
57 59
58 ChromiumBinariesDistribution(); 60 ChromiumBinariesDistribution();
59 61
60 BrowserDistribution* browser_distribution_; 62 BrowserDistribution* browser_distribution_;
61 63
62 private: 64 private:
63 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); 65 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution);
64 }; 66 };
65 67
66 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ 68 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698