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

Side by Side Diff: chrome/browser/extensions/updater/extension_updater.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment 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 (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 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_
6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
(...skipping 14 matching lines...) Expand all
25 #include "extensions/browser/extension_registry_observer.h" 25 #include "extensions/browser/extension_registry_observer.h"
26 #include "extensions/browser/updater/extension_downloader.h" 26 #include "extensions/browser/updater/extension_downloader.h"
27 #include "extensions/browser/updater/extension_downloader_delegate.h" 27 #include "extensions/browser/updater/extension_downloader_delegate.h"
28 #include "extensions/browser/updater/manifest_fetch_data.h" 28 #include "extensions/browser/updater/manifest_fetch_data.h"
29 #include "url/gurl.h" 29 #include "url/gurl.h"
30 30
31 class ExtensionServiceInterface; 31 class ExtensionServiceInterface;
32 class PrefService; 32 class PrefService;
33 class Profile; 33 class Profile;
34 34
35 namespace content {
36 class BrowserContext;
37 }
38
39 namespace extensions { 35 namespace extensions {
40 36
41 class ExtensionCache; 37 class ExtensionCache;
42 class ExtensionPrefs; 38 class ExtensionPrefs;
43 class ExtensionRegistry;
44 class ExtensionSet; 39 class ExtensionSet;
45 class ExtensionUpdaterTest; 40 class ExtensionUpdaterTest;
46 41
47 // A class for doing auto-updates of installed Extensions. Used like this: 42 // A class for doing auto-updates of installed Extensions. Used like this:
48 // 43 //
49 // ExtensionUpdater* updater = new ExtensionUpdater(my_extensions_service, 44 // ExtensionUpdater* updater = new ExtensionUpdater(my_extensions_service,
50 // extension_prefs, 45 // extension_prefs,
51 // pref_service, 46 // pref_service,
52 // profile, 47 // profile,
53 // update_frequency_secs, 48 // update_frequency_secs,
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 ExtensionCache* extension_cache_; 251 ExtensionCache* extension_cache_;
257 252
258 base::WeakPtrFactory<ExtensionUpdater> weak_ptr_factory_; 253 base::WeakPtrFactory<ExtensionUpdater> weak_ptr_factory_;
259 254
260 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); 255 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater);
261 }; 256 };
262 257
263 } // namespace extensions 258 } // namespace extensions
264 259
265 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ 260 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698