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

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

Issue 15255004: Refactor of BrowserDistribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ 7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ 8 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_
9 9
10 #include "chrome/installer/util/chromium_binaries_distribution.h" 10 #include "chrome/installer/util/chromium_binaries_distribution.h"
11 11
12 class GoogleChromeBinariesDistribution : public ChromiumBinariesDistribution { 12 class GoogleChromeBinariesDistribution : public ChromiumBinariesDistribution {
13 public: 13 public:
14 virtual string16 GetAppGuid(); 14 virtual string16 GetAppGuid();
15 15
16 virtual string16 GetAppShortCutName(); 16 virtual string16 GetDisplayName();
17
18 virtual string16 GetShortcutName(ShortcutType shortcut_type);
17 19
18 virtual string16 GetStateKey(); 20 virtual string16 GetStateKey();
19 21
20 virtual string16 GetStateMediumKey(); 22 virtual string16 GetStateMediumKey();
21 23
22 virtual string16 GetVersionKey(); 24 virtual string16 GetVersionKey();
23 25
24 virtual void UpdateInstallStatus(bool system_install, 26 virtual void UpdateInstallStatus(bool system_install,
25 installer::ArchiveType archive_type, 27 installer::ArchiveType archive_type,
26 installer::InstallStatus install_status); 28 installer::InstallStatus install_status);
27 29
28 protected: 30 protected:
29 friend class BrowserDistribution; 31 friend class BrowserDistribution;
30 32
31 GoogleChromeBinariesDistribution(); 33 GoogleChromeBinariesDistribution();
32 34
33 private: 35 private:
34 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); 36 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution);
35 }; 37 };
36 38
37 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ 39 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/chromium_binaries_distribution.cc ('k') | chrome/installer/util/google_chrome_binaries_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698