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

Side by Side Diff: extensions/browser/updater/extension_downloader_test_delegate.h

Issue 1887253002: Rate limit programmatic update checks for extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef EXTENSIONS_BROWSER_UPDATER_EXTENSION_DOWNLOADER_TEST_DELEGATE_H_
6 #define EXTENSIONS_BROWSER_UPDATER_EXTENSION_DOWNLOADER_TEST_DELEGATE_H_
7
8 namespace extensions {
9
10 // A class for intercepting the work of checking for / downloading extension
11 // updates.
12 class ExtensionDownloaderTestDelegate {
13 public:
14 // This method gets called when an update check is being started for an
15 // extension. Normally implementors should eventually call either
16 // OnExtensionDownloadFailed or OnExtensionDownloadFinished on
17 // |delegate|.
18 virtual void StartUpdateCheck(ExtensionDownloader* downloader,
19 ExtensionDownloaderDelegate* delegate,
20 scoped_ptr<ManifestFetchData> fetch_data) = 0;
21 };
22
23 } // namespace extensions
24
25 #endif // EXTENSIONS_BROWSER_UPDATER_EXTENSION_DOWNLOADER_TEST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698