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

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

Issue 10665002: Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A basic working app host installer/uninstaller. Created 8 years, 5 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) 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_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
(...skipping 12 matching lines...) Expand all
23 namespace installer { 23 namespace installer {
24 class Product; 24 class Product;
25 } 25 }
26 26
27 class BrowserDistribution { 27 class BrowserDistribution {
28 public: 28 public:
29 enum Type { 29 enum Type {
30 CHROME_BROWSER, 30 CHROME_BROWSER,
31 CHROME_FRAME, 31 CHROME_FRAME,
32 CHROME_BINARIES, 32 CHROME_BINARIES,
33 CHROME_APP_HOST,
33 NUM_TYPES 34 NUM_TYPES
34 }; 35 };
35 36
36 // A struct for communicating what a UserExperiment contains. In these 37 // A struct for communicating what a UserExperiment contains. In these
37 // experiments we show toasts to the user if they are inactive for a certain 38 // experiments we show toasts to the user if they are inactive for a certain
38 // amount of time. 39 // amount of time.
39 struct UserExperiment { 40 struct UserExperiment {
40 string16 prefix; // The experiment code prefix for this experiment, 41 string16 prefix; // The experiment code prefix for this experiment,
41 // also known as the 'TV' part in 'TV80'. 42 // also known as the 'TV' part in 'TV80'.
42 int flavor; // The flavor index for this experiment. 43 int flavor; // The flavor index for this experiment.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 170
170 const Type type_; 171 const Type type_;
171 172
172 private: 173 private:
173 BrowserDistribution(); 174 BrowserDistribution();
174 175
175 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution); 176 DISALLOW_COPY_AND_ASSIGN(BrowserDistribution);
176 }; 177 };
177 178
178 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_ 179 #endif // CHROME_INSTALLER_UTIL_BROWSER_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698