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

Side by Side Diff: components/update_client/update_client.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_H_
6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_H_ 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // implemented as a mixin. The polymorphic behavior of some of the actions 123 // implemented as a mixin. The polymorphic behavior of some of the actions
124 // is achieved using a template method. 124 // is achieved using a template method.
125 // 125 //
126 // State changes of a CRX could generate events, which are observed using a 126 // State changes of a CRX could generate events, which are observed using a
127 // subject-observer interface. 127 // subject-observer interface.
128 // 128 //
129 // The actions chain up. In some sense, the actions implement a state machine, 129 // The actions chain up. In some sense, the actions implement a state machine,
130 // as the CRX undergoes a series of state transitions in the process of 130 // as the CRX undergoes a series of state transitions in the process of
131 // being checked for updates and applying the update. 131 // being checked for updates and applying the update.
132 132
133 class ComponentsUI;
134 class PrefRegistrySimple; 133 class PrefRegistrySimple;
135 134
136 namespace base { 135 namespace base {
137 class DictionaryValue; 136 class DictionaryValue;
138 class FilePath; 137 class FilePath;
139 } 138 }
140 139
141 namespace update_client { 140 namespace update_client {
142 141
143 class Configurator; 142 class Configurator;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 scoped_refptr<UpdateClient> UpdateClientFactory( 355 scoped_refptr<UpdateClient> UpdateClientFactory(
357 const scoped_refptr<Configurator>& config); 356 const scoped_refptr<Configurator>& config);
358 357
359 // This must be called prior to the construction of any Configurator that 358 // This must be called prior to the construction of any Configurator that
360 // contains a PrefService. 359 // contains a PrefService.
361 void RegisterPrefs(PrefRegistrySimple* registry); 360 void RegisterPrefs(PrefRegistrySimple* registry);
362 361
363 } // namespace update_client 362 } // namespace update_client
364 363
365 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_H_ 364 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_H_
OLDNEW
« no previous file with comments | « components/update_client/update_checker.h ('k') | components/update_client/update_client_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698