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

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

Issue 3836005: Move pe_image and registry from base to base/win and use the namespace. It re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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 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_BROWSER_DISTRIBUTION_H_ 7 #ifndef CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 8 #define CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
9 #pragma once 9 #pragma once
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "chrome/installer/util/util_constants.h" 12 #include "chrome/installer/util/util_constants.h"
13 #include "chrome/installer/util/version.h" 13 #include "chrome/installer/util/version.h"
14 14
15 namespace base {
16 namespace win {
15 class RegKey; 17 class RegKey;
18 } // namespace win
19 } // namespace base
16 20
17 class BrowserDistribution { 21 class BrowserDistribution {
18 public: 22 public:
19 virtual ~BrowserDistribution() {} 23 virtual ~BrowserDistribution() {}
20 24
21 static BrowserDistribution* GetDistribution(); 25 static BrowserDistribution* GetDistribution();
22 26
23 virtual void DoPostUninstallOperations(const installer::Version& version, 27 virtual void DoPostUninstallOperations(const installer::Version& version,
24 const std::wstring& local_data_path, 28 const std::wstring& local_data_path,
25 const std::wstring& distribution_data); 29 const std::wstring& distribution_data);
(...skipping 20 matching lines...) Expand all
46 installer_util::InstallStatus install_status); 50 installer_util::InstallStatus install_status);
47 51
48 virtual std::string GetSafeBrowsingName(); 52 virtual std::string GetSafeBrowsingName();
49 53
50 virtual std::wstring GetStateKey(); 54 virtual std::wstring GetStateKey();
51 55
52 virtual std::wstring GetStateMediumKey(); 56 virtual std::wstring GetStateMediumKey();
53 57
54 virtual std::wstring GetStatsServerURL(); 58 virtual std::wstring GetStatsServerURL();
55 59
56 virtual std::wstring GetDistributionData(RegKey* key); 60 virtual std::wstring GetDistributionData(base::win::RegKey* key);
57 61
58 virtual std::wstring GetUninstallLinkName(); 62 virtual std::wstring GetUninstallLinkName();
59 63
60 virtual std::wstring GetUninstallRegPath(); 64 virtual std::wstring GetUninstallRegPath();
61 65
62 virtual std::wstring GetVersionKey(); 66 virtual std::wstring GetVersionKey();
63 67
64 virtual std::wstring GetEnvVersionKey(); 68 virtual std::wstring GetEnvVersionKey();
65 69
66 virtual bool CanSetAsDefault(); 70 virtual bool CanSetAsDefault();
(...skipping 19 matching lines...) Expand all
86 protected: 90 protected:
87 BrowserDistribution() {} 91 BrowserDistribution() {}
88 92
89 static BrowserDistribution* GetDistribution(bool chrome_frame); 93 static BrowserDistribution* GetDistribution(bool chrome_frame);
90 94
91 private: 95 private:
92 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 96 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
93 }; 97 };
94 98
95 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 99 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698