OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/scoped_temp_dir.h" | |
19 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/scoped_temp_dir.h" |
20 #include "base/task.h" | 20 #include "base/task.h" |
21 #include "base/time.h" | 21 #include "base/time.h" |
22 #include "base/timer.h" | 22 #include "base/timer.h" |
23 #include "chrome/browser/extensions/extension_service.h" | 23 #include "chrome/browser/extensions/extension_service.h" |
24 #include "chrome/common/extensions/update_manifest.h" | 24 #include "chrome/common/extensions/update_manifest.h" |
25 #include "chrome/common/net/url_fetcher.h" | 25 #include "chrome/common/net/url_fetcher.h" |
26 #include "googleurl/src/gurl.h" | 26 #include "googleurl/src/gurl.h" |
27 | 27 |
28 class Extension; | 28 class Extension; |
29 class ExtensionPrefs; | 29 class ExtensionPrefs; |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 // The ids of extensions that have in-progress update checks. | 355 // The ids of extensions that have in-progress update checks. |
356 std::set<std::string> in_progress_ids_; | 356 std::set<std::string> in_progress_ids_; |
357 | 357 |
358 FRIEND_TEST(ExtensionUpdaterTest, TestStartUpdateCheckMemory); | 358 FRIEND_TEST(ExtensionUpdaterTest, TestStartUpdateCheckMemory); |
359 FRIEND_TEST(ExtensionUpdaterTest, TestAfterStopBehavior); | 359 FRIEND_TEST(ExtensionUpdaterTest, TestAfterStopBehavior); |
360 | 360 |
361 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); | 361 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); |
362 }; | 362 }; |
363 | 363 |
364 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ | 364 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ |
OLD | NEW |