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

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

Issue 360059: Remove build time differences between Chrome Frame and Google Chrome in the... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 10
11 #include <string> 11 #include <string>
12 12
13 #include "chrome/installer/util/browser_distribution.h" 13 #include "chrome/installer/util/browser_distribution.h"
14 #include "chrome/installer/util/util_constants.h" 14 #include "chrome/installer/util/util_constants.h"
15 15
16 class ChromeFrameDistribution : public BrowserDistribution { 16 class ChromeFrameDistribution : public BrowserDistribution {
17 public: 17 public:
18 virtual std::wstring GetAppGuid(); 18 virtual std::wstring GetAppGuid();
19 19
20 virtual std::wstring GetApplicationName(); 20 virtual std::wstring GetApplicationName();
21 21
22 virtual std::wstring GetAlternateApplicationName(); 22 virtual std::wstring GetAlternateApplicationName();
23 23
24 virtual std::wstring GetInstallSubDir(); 24 virtual std::wstring GetInstallSubDir();
25 25
26 virtual std::wstring GetPublisherName(); 26 virtual std::wstring GetPublisherName();
27 27
28 virtual std::wstring GetAppDescription(); 28 virtual std::wstring GetAppDescription();
29 29
30 virtual std::string GetSafeBrowsingName();
31
30 virtual std::wstring GetStateKey(); 32 virtual std::wstring GetStateKey();
31 33
32 virtual std::wstring GetStateMediumKey(); 34 virtual std::wstring GetStateMediumKey();
33 35
34 virtual std::wstring GetStatsServerURL(); 36 virtual std::wstring GetStatsServerURL();
35 37
36 virtual std::wstring GetUninstallLinkName(); 38 virtual std::wstring GetUninstallLinkName();
37 39
38 virtual std::wstring GetUninstallRegPath(); 40 virtual std::wstring GetUninstallRegPath();
39 41
40 virtual std::wstring GetVersionKey(); 42 virtual std::wstring GetVersionKey();
41 43
42 virtual int GetInstallReturnCode(installer_util::InstallStatus status); 44 virtual int GetInstallReturnCode(installer_util::InstallStatus status);
43 45
44 // This is the point at which the Google Chrome installer removes the Google 46 // This is the point at which the Google Chrome installer removes the Google
45 // Update ap value. We implement this simply to have the same behaviour re. 47 // Update ap value. We implement this simply to have the same behaviour re.
46 // the ap value. 48 // the ap value.
47 virtual void UpdateDiffInstallStatus(bool system_install, 49 virtual void UpdateDiffInstallStatus(bool system_install,
48 bool incremental_install, installer_util::InstallStatus install_status); 50 bool incremental_install, installer_util::InstallStatus install_status);
49 51
50 private: 52 private:
51 friend class BrowserDistribution; 53 friend class BrowserDistribution;
52 54
53 // Disallow construction from non-friends. 55 // Disallow construction from non-friends.
54 ChromeFrameDistribution() {} 56 ChromeFrameDistribution() {}
55 57
56 }; 58 };
57 59
58 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ 60 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/browser_distribution.cc ('k') | chrome/installer/util/chrome_frame_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698