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

Unified Diff: chrome/browser/extensions/extension_updater.cc

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_updater.cc
diff --git a/chrome/browser/extensions/extension_updater.cc b/chrome/browser/extensions/extension_updater.cc
index 52a4b4fe419a04d4453d60c4031807a25b38445d..fc7143721d3e4153b8da10888cc25558320769bd 100644
--- a/chrome/browser/extensions/extension_updater.cc
+++ b/chrome/browser/extensions/extension_updater.cc
@@ -68,6 +68,12 @@ static const int kMaxUpdateFrequencySeconds = 60 * 60 * 24 * 7; // 7 days
// request. We want to stay under 2K because of proxies, etc.
static const int kExtensionsManifestMaxURLSize = 2000;
+ManifestFetchData::ManifestFetchData(GURL update_url)
+ : base_url_(update_url),
+ full_url_(update_url) {
+}
+
+ManifestFetchData::~ManifestFetchData() {}
// The format for request parameters in update checks is:
//
@@ -126,6 +132,10 @@ bool ManifestFetchData::AddExtension(std::string id, std::string version,
return true;
}
+bool ManifestFetchData::Includes(std::string extension_id) const {
+ return extension_ids_.find(extension_id) != extension_ids_.end();
+}
+
bool ManifestFetchData::DidPing(std::string extension_id) const {
std::map<std::string, int>::const_iterator i = ping_days_.find(extension_id);
if (i != ping_days_.end()) {

Powered by Google App Engine
This is Rietveld 408576698