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

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

Issue 2764963002: Move ProgID methods from BrowserDistribution into install_static. (Closed)
Patch Set: huangs comments Created 3 years, 9 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 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ 5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_
6 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ 6 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "chrome/installer/util/browser_distribution.h" 9 #include "chrome/installer/util/browser_distribution.h"
10 #include "chrome/installer/util/google_chrome_distribution.h" 10 #include "chrome/installer/util/google_chrome_distribution.h"
11 #include "chrome/installer/util/l10n_string_util.h" 11 #include "chrome/installer/util/l10n_string_util.h"
12 #include "chrome/installer/util/util_constants.h" 12 #include "chrome/installer/util/util_constants.h"
13 13
14 // GoogleChromeSxSDistribution encapsulates properties of Google Chrome Sxs 14 // GoogleChromeSxSDistribution encapsulates properties of Google Chrome Sxs
15 // distribution which can co-exist with other Google Chrome distributions. 15 // distribution which can co-exist with other Google Chrome distributions.
16 // Google Chrome Sxs distribution is installed to a different path, runs 16 // Google Chrome Sxs distribution is installed to a different path, runs
17 // alongside with normally installed Google Chrome, and is updated separately. 17 // alongside with normally installed Google Chrome, and is updated separately.
18 // It is mainly used for developer preview and testing, and is disabled for 18 // It is mainly used for developer preview and testing, and is disabled for
19 // system level install and setting as default browser. 19 // system level install and setting as default browser.
20 class GoogleChromeSxSDistribution : public GoogleChromeDistribution { 20 class GoogleChromeSxSDistribution : public GoogleChromeDistribution {
21 public: 21 public:
22 base::string16 GetBaseAppName() override; 22 base::string16 GetBaseAppName() override;
23 base::string16 GetShortcutName() override; 23 base::string16 GetShortcutName() override;
24 int GetIconIndex() override; 24 int GetIconIndex() override;
25 base::string16 GetStartMenuShortcutSubfolder( 25 base::string16 GetStartMenuShortcutSubfolder(
26 Subfolder subfolder_type) override; 26 Subfolder subfolder_type) override;
27 base::string16 GetBrowserProgIdPrefix() override;
28 base::string16 GetBrowserProgIdDesc() override;
29 base::string16 GetUninstallRegPath() override; 27 base::string16 GetUninstallRegPath() override;
30 DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override; 28 DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override;
31 base::string16 GetCommandExecuteImplClsid() override; 29 base::string16 GetCommandExecuteImplClsid() override;
32 bool ShouldSetExperimentLabels() override; 30 bool ShouldSetExperimentLabels() override;
33 bool HasUserExperiments() override; 31 bool HasUserExperiments() override;
34 32
35 private: 33 private:
36 friend class BrowserDistribution; 34 friend class BrowserDistribution;
37 35
38 // Disallow construction from non-friends. 36 // Disallow construction from non-friends.
39 GoogleChromeSxSDistribution(); 37 GoogleChromeSxSDistribution();
40 }; 38 };
41 39
42 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ 40 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/google_chrome_distribution_dummy.cc ('k') | chrome/installer/util/google_chrome_sxs_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698