OLD | NEW |
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 <set> | 10 #include <set> |
11 #include <stack> | 11 #include <stack> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
20 #include "base/scoped_observer.h" | 20 #include "base/scoped_observer.h" |
21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
22 #include "base/timer/timer.h" | 22 #include "base/timer/timer.h" |
23 #include "chrome/browser/extensions/updater/extension_downloader.h" | 23 #include "chrome/browser/extensions/updater/extension_downloader.h" |
24 #include "chrome/browser/extensions/updater/extension_downloader_delegate.h" | 24 #include "chrome/browser/extensions/updater/extension_downloader_delegate.h" |
25 #include "chrome/browser/extensions/updater/manifest_fetch_data.h" | |
26 #include "content/public/browser/notification_observer.h" | 25 #include "content/public/browser/notification_observer.h" |
27 #include "content/public/browser/notification_registrar.h" | 26 #include "content/public/browser/notification_registrar.h" |
28 #include "extensions/browser/extension_registry_observer.h" | 27 #include "extensions/browser/extension_registry_observer.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 { | 35 namespace content { |
36 class BrowserContext; | 36 class BrowserContext; |
37 } | 37 } |
38 | 38 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 std::set<std::string> forced_updates_; | 289 std::set<std::string> forced_updates_; |
290 | 290 |
291 base::WeakPtrFactory<ExtensionUpdater> weak_ptr_factory_; | 291 base::WeakPtrFactory<ExtensionUpdater> weak_ptr_factory_; |
292 | 292 |
293 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); | 293 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); |
294 }; | 294 }; |
295 | 295 |
296 } // namespace extensions | 296 } // namespace extensions |
297 | 297 |
298 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ | 298 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ |
OLD | NEW |