Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / installer / util / chromium_binaries_distribution.h
blob0f75aac83ff7e703c1884e8ed220b0cc6d336c7d
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
3 // found in the LICENSE file.
4 //
5 // This file declares a class that contains various method related to branding.
7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
10 #include <string>
12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/installer/util/browser_distribution.h"
15 class ChromiumBinariesDistribution : public BrowserDistribution {
16 public:
17 base::string16 GetBrowserProgIdPrefix() override;
19 base::string16 GetBrowserProgIdDesc() override;
21 base::string16 GetDisplayName() override;
23 base::string16 GetShortcutName(ShortcutType shortcut_type) override;
25 int GetIconIndex(ShortcutType shortcut_type) override;
27 base::string16 GetBaseAppName() override;
29 base::string16 GetBaseAppId() override;
31 base::string16 GetInstallSubDir() override;
33 base::string16 GetPublisherName() override;
35 base::string16 GetAppDescription() override;
37 base::string16 GetLongAppDescription() override;
39 std::string GetSafeBrowsingName() override;
41 base::string16 GetUninstallRegPath() override;
43 DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override;
45 bool GetChromeChannel(base::string16* channel) override;
47 base::string16 GetCommandExecuteImplClsid() override;
49 protected:
50 friend class BrowserDistribution;
52 ChromiumBinariesDistribution();
54 explicit ChromiumBinariesDistribution(
55 scoped_ptr<AppRegistrationData> app_reg_data);
57 BrowserDistribution* browser_distribution_;
59 private:
60 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution);
63 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_