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

Unified Diff: chrome/common/net/url_fetcher_protect.cc

Issue 3522004: FBTF: Move ctors/dtors into implementation files. Adds ctors/dtors to non-POD structs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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/common/net/url_fetcher_protect.cc
diff --git a/chrome/common/net/url_fetcher_protect.cc b/chrome/common/net/url_fetcher_protect.cc
index 05c8e2e2f771f6340bf23494df16d4fde67c2c7e..f078fd4307a65a248a3be06c65f1bb6a516f042b 100644
--- a/chrome/common/net/url_fetcher_protect.cc
+++ b/chrome/common/net/url_fetcher_protect.cc
@@ -52,6 +52,8 @@ URLFetcherProtectEntry::URLFetcherProtectEntry(int sliding_window_period,
ResetBackoff();
}
+URLFetcherProtectEntry::~URLFetcherProtectEntry() {}
+
int64 URLFetcherProtectEntry::UpdateBackoff(EventType event_type) {
// request may be sent in different threads
AutoLock lock(lock_);
@@ -174,3 +176,5 @@ URLFetcherProtectEntry* URLFetcherProtectManager::Register(
services_[id] = entry;
return entry;
}
+
+URLFetcherProtectManager::URLFetcherProtectManager() {}

Powered by Google App Engine
This is Rietveld 408576698