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

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

Issue 5756007: Revert 69165 - Merge the installer, installer_util and setup_util namespaces ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 #pragma once 10 #pragma once
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "chrome/installer/util/browser_distribution.h" 14 #include "chrome/installer/util/browser_distribution.h"
15 #include "chrome/installer/util/util_constants.h" 15 #include "chrome/installer/util/util_constants.h"
16 16
17 namespace installer { 17 namespace installer_util {
18 class MasterPreferences; 18 class MasterPreferences;
19 } 19 }
20 20
21 class ChromeFrameDistribution : public BrowserDistribution { 21 class ChromeFrameDistribution : public BrowserDistribution {
22 public: 22 public:
23 virtual std::wstring GetAppGuid(); 23 virtual std::wstring GetAppGuid();
24 24
25 virtual std::wstring GetApplicationName(); 25 virtual std::wstring GetApplicationName();
26 26
27 virtual std::wstring GetAlternateApplicationName(); 27 virtual std::wstring GetAlternateApplicationName();
(...skipping 19 matching lines...) Expand all
47 virtual std::wstring GetUninstallRegPath(); 47 virtual std::wstring GetUninstallRegPath();
48 48
49 virtual std::wstring GetVersionKey(); 49 virtual std::wstring GetVersionKey();
50 50
51 virtual bool CanSetAsDefault(); 51 virtual bool CanSetAsDefault();
52 52
53 // This is the point at which the Google Chrome installer removes the Google 53 // This is the point at which the Google Chrome installer removes the Google
54 // Update ap value. We implement this simply to have the same behaviour re. 54 // Update ap value. We implement this simply to have the same behaviour re.
55 // the ap value. 55 // the ap value.
56 virtual void UpdateDiffInstallStatus(bool system_install, 56 virtual void UpdateDiffInstallStatus(bool system_install,
57 bool incremental_install, installer::InstallStatus install_status); 57 bool incremental_install, installer_util::InstallStatus install_status);
58 58
59 virtual std::vector<FilePath> GetKeyFiles(); 59 virtual std::vector<FilePath> GetKeyFiles();
60 60
61 virtual std::vector<FilePath> GetComDllList(); 61 virtual std::vector<FilePath> GetComDllList();
62 62
63 virtual void AppendUninstallCommandLineFlags(CommandLine* cmd_line); 63 virtual void AppendUninstallCommandLineFlags(CommandLine* cmd_line);
64 64
65 protected: 65 protected:
66 friend class BrowserDistribution; 66 friend class BrowserDistribution;
67 67
68 // Disallow construction from non-friends. 68 // Disallow construction from non-friends.
69 explicit ChromeFrameDistribution( 69 explicit ChromeFrameDistribution(
70 const installer::MasterPreferences& prefs); 70 const installer_util::MasterPreferences& prefs);
71 71
72 // Determines whether this Chrome Frame distribution is being used to work 72 // Determines whether this Chrome Frame distribution is being used to work
73 // with CEEE bits as well. 73 // with CEEE bits as well.
74 bool ceee_; 74 bool ceee_;
75 }; 75 };
76 76
77 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ 77 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/channel_info_unittest.cc ('k') | chrome/installer/util/chrome_frame_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698