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

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

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 months 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 | Annotate | Revision Log
OLDNEW
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/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/scoped_temp_dir.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 "content/common/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;
30 class ExtensionUpdaterTest; 30 class ExtensionUpdaterTest;
31 class PrefService; 31 class PrefService;
32 class Profile; 32 class Profile;
33 class SafeManifestParser; 33 class SafeManifestParser;
34 34
35 // To save on server resources we can request updates for multiple extensions 35 // To save on server resources we can request updates for multiple extensions
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 // The ids of extensions that have in-progress update checks. 348 // The ids of extensions that have in-progress update checks.
349 std::set<std::string> in_progress_ids_; 349 std::set<std::string> in_progress_ids_;
350 350
351 FRIEND_TEST(ExtensionUpdaterTest, TestStartUpdateCheckMemory); 351 FRIEND_TEST(ExtensionUpdaterTest, TestStartUpdateCheckMemory);
352 FRIEND_TEST(ExtensionUpdaterTest, TestAfterStopBehavior); 352 FRIEND_TEST(ExtensionUpdaterTest, TestAfterStopBehavior);
353 353
354 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); 354 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater);
355 }; 355 };
356 356
357 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ 357 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/extensions/extension_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698