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

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

Issue 465543004: Factor Chrome details out of update manifest fetching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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) 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // Keeps track of when an extension tried to update itself, so we can throttle 283 // Keeps track of when an extension tried to update itself, so we can throttle
284 // checks to prevent too many requests from being made. 284 // checks to prevent too many requests from being made.
285 std::map<std::string, ThrottleInfo> throttle_info_; 285 std::map<std::string, ThrottleInfo> throttle_info_;
286 286
287 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); 287 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater);
288 }; 288 };
289 289
290 } // namespace extensions 290 } // namespace extensions
291 291
292 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ 292 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698