OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_EXTENSION_UPDATER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/ref_counted.h" | 16 #include "base/ref_counted.h" |
17 #include "base/scoped_ptr.h" | 17 #include "base/scoped_ptr.h" |
18 #include "base/scoped_temp_dir.h" | 18 #include "base/scoped_temp_dir.h" |
| 19 #include "base/task.h" |
19 #include "base/time.h" | 20 #include "base/time.h" |
20 #include "base/timer.h" | 21 #include "base/timer.h" |
21 #include "chrome/browser/extensions/extensions_service.h" | 22 #include "chrome/browser/extensions/extensions_service.h" |
22 #include "chrome/common/extensions/update_manifest.h" | 23 #include "chrome/common/extensions/update_manifest.h" |
23 #include "chrome/common/net/url_fetcher.h" | 24 #include "chrome/common/net/url_fetcher.h" |
24 #include "googleurl/src/gurl.h" | 25 #include "googleurl/src/gurl.h" |
25 | 26 |
26 class Extension; | 27 class Extension; |
27 class ExtensionUpdaterTest; | 28 class ExtensionUpdaterTest; |
28 class ExtensionUpdaterFileHandler; | 29 class ExtensionUpdaterFileHandler; |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 scoped_refptr<ExtensionUpdaterFileHandler> file_handler_; | 282 scoped_refptr<ExtensionUpdaterFileHandler> file_handler_; |
282 bool blacklist_checks_enabled_; | 283 bool blacklist_checks_enabled_; |
283 | 284 |
284 FRIEND_TEST(ExtensionUpdaterTest, TestStartUpdateCheckMemory); | 285 FRIEND_TEST(ExtensionUpdaterTest, TestStartUpdateCheckMemory); |
285 FRIEND_TEST(ExtensionUpdaterTest, TestAfterStopBehavior); | 286 FRIEND_TEST(ExtensionUpdaterTest, TestAfterStopBehavior); |
286 | 287 |
287 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); | 288 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); |
288 }; | 289 }; |
289 | 290 |
290 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ | 291 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ |
OLD | NEW |