OLD | NEW |
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 "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/installer/util/browser_distribution.h" | 14 #include "chrome/installer/util/browser_distribution.h" |
14 | 15 |
15 class ChromiumBinariesDistribution : public BrowserDistribution { | 16 class ChromiumBinariesDistribution : public BrowserDistribution { |
16 public: | 17 public: |
17 base::string16 GetBrowserProgIdPrefix() override; | 18 base::string16 GetBrowserProgIdPrefix() override; |
18 | 19 |
19 base::string16 GetBrowserProgIdDesc() override; | 20 base::string16 GetBrowserProgIdDesc() override; |
20 | 21 |
21 base::string16 GetDisplayName() override; | 22 base::string16 GetDisplayName() override; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 explicit ChromiumBinariesDistribution( | 55 explicit ChromiumBinariesDistribution( |
55 scoped_ptr<AppRegistrationData> app_reg_data); | 56 scoped_ptr<AppRegistrationData> app_reg_data); |
56 | 57 |
57 BrowserDistribution* browser_distribution_; | 58 BrowserDistribution* browser_distribution_; |
58 | 59 |
59 private: | 60 private: |
60 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); | 61 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); |
61 }; | 62 }; |
62 | 63 |
63 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 64 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
OLD | NEW |