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

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

Issue 6402: Fix some problems with machine level install. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 generic BrowserDistribution class to declare Google Chrome 5 // This file extends generic BrowserDistribution class to declare Google Chrome
6 // specific implementation. 6 // specific implementation.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
10 10
11 #include "chrome/installer/util/browser_distribution.h" 11 #include "chrome/installer/util/browser_distribution.h"
12 #include "chrome/installer/util/util_constants.h" 12 #include "chrome/installer/util/util_constants.h"
13 13
14 class GoogleChromeDistribution : public BrowserDistribution { 14 class GoogleChromeDistribution : public BrowserDistribution {
15 public: 15 public:
16 virtual void DoPostUninstallOperations(const installer::Version& version); 16 virtual void DoPostUninstallOperations(const installer::Version& version);
17 17
18 virtual void DoPreUninstallOperations();
19
20 virtual std::wstring GetApplicationName(); 18 virtual std::wstring GetApplicationName();
21 19
22 virtual std::wstring GetInstallSubDir(); 20 virtual std::wstring GetInstallSubDir();
23 21
24 // This method generates the new value for Google Update "ap" key for Chrome 22 // This method generates the new value for Google Update "ap" key for Chrome
25 // based on whether we are doing incremental install (or not) and whether 23 // based on whether we are doing incremental install (or not) and whether
26 // the install succeeded. 24 // the install succeeded.
27 // - If install worked, remove the magic string (if present). 25 // - If install worked, remove the magic string (if present).
28 // - If incremental installer failed, append a magic string (if 26 // - If incremental installer failed, append a magic string (if
29 // not present already). 27 // not present already).
(...skipping 21 matching lines...) Expand all
51 bool incremental_install, installer_util::InstallStatus install_status); 49 bool incremental_install, installer_util::InstallStatus install_status);
52 50
53 private: 51 private:
54 friend class BrowserDistribution; 52 friend class BrowserDistribution;
55 53
56 GoogleChromeDistribution() {} 54 GoogleChromeDistribution() {}
57 }; 55 };
58 56
59 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 57 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
60 58
OLDNEW
« no previous file with comments | « chrome/installer/util/browser_distribution.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698