OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 Frame. | 6 // for Chrome Frame. |
7 | 7 |
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
10 #pragma once | 10 #pragma once |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "chrome/installer/util/browser_distribution.h" | 15 #include "chrome/installer/util/browser_distribution.h" |
16 #include "chrome/installer/util/util_constants.h" | 16 #include "chrome/installer/util/util_constants.h" |
17 | 17 |
18 namespace installer { | |
19 class MasterPreferences; | |
20 } | |
21 | |
22 class ChromeFrameDistribution : public BrowserDistribution { | 18 class ChromeFrameDistribution : public BrowserDistribution { |
23 public: | 19 public: |
24 virtual std::wstring GetAppGuid() OVERRIDE; | 20 virtual std::wstring GetAppGuid() OVERRIDE; |
25 | 21 |
26 virtual std::wstring GetApplicationName() OVERRIDE; | 22 virtual std::wstring GetApplicationName() OVERRIDE; |
27 | 23 |
28 virtual std::wstring GetAppShortCutName() OVERRIDE; | 24 virtual std::wstring GetAppShortCutName() OVERRIDE; |
29 | 25 |
30 virtual std::wstring GetAlternateApplicationName() OVERRIDE; | 26 virtual std::wstring GetAlternateApplicationName() OVERRIDE; |
31 | 27 |
(...skipping 28 matching lines...) Expand all Loading... |
60 installer::InstallStatus install_status) OVERRIDE; | 56 installer::InstallStatus install_status) OVERRIDE; |
61 | 57 |
62 protected: | 58 protected: |
63 friend class BrowserDistribution; | 59 friend class BrowserDistribution; |
64 | 60 |
65 // Disallow construction from non-friends. | 61 // Disallow construction from non-friends. |
66 ChromeFrameDistribution(); | 62 ChromeFrameDistribution(); |
67 }; | 63 }; |
68 | 64 |
69 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 65 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
OLD | NEW |