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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api.cc

Issue 10071035: RefCounted types should not have public destructors, chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/web_request/web_request_api.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.cc b/chrome/browser/extensions/api/web_request/web_request_api.cc
index 3c1e586a18ef7041ae83c94ad9412b67b5979c37..b63108b24469b5bb808f54b2fd5da94e98aae9db 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_api.cc
@@ -1655,12 +1655,6 @@ bool WebRequestEventHandled::RunImpl() {
return true;
}
-bool WebRequestHandlerBehaviorChanged::RunImpl() {
- BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- base::Bind(&ClearCacheOnNavigationOnUI));
- return true;
-}
-
void WebRequestHandlerBehaviorChanged::GetQuotaLimitHeuristics(
QuotaLimitHeuristics* heuristics) const {
QuotaLimitHeuristic::Config config = {
@@ -1690,6 +1684,12 @@ void WebRequestHandlerBehaviorChanged::OnQuotaExceeded() {
Run();
}
+bool WebRequestHandlerBehaviorChanged::RunImpl() {
+ BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
+ base::Bind(&ClearCacheOnNavigationOnUI));
+ return true;
+}
+
void SendExtensionWebRequestStatusToHost(content::RenderProcessHost* host) {
Profile* profile = Profile::FromBrowserContext(host->GetBrowserContext());
if (!profile || !profile->GetExtensionService())

Powered by Google App Engine
This is Rietveld 408576698