| Index: chrome/browser/extensions/api/web_request/web_request_api.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/api/web_request/web_request_api.cc (revision 176046)
|
| +++ chrome/browser/extensions/api/web_request/web_request_api.cc (working copy)
|
| @@ -1706,7 +1706,7 @@
|
| iter->second &= ~event_type;
|
| }
|
|
|
| -// Special QuotaLimitHeuristic for WebRequestHandlerBehaviorChangedFunction.
|
| +// Special QuotaLimitHeuristic for WebRequestHandlerBehaviorChanged.
|
| //
|
| // Each call of webRequest.handlerBehaviorChanged() clears the in-memory cache
|
| // of WebKit at the time of the next page load (top level navigation event).
|
| @@ -1955,7 +1955,7 @@
|
| return true;
|
| }
|
|
|
| -void WebRequestHandlerBehaviorChangedFunction::GetQuotaLimitHeuristics(
|
| +void WebRequestHandlerBehaviorChanged::GetQuotaLimitHeuristics(
|
| QuotaLimitHeuristics* heuristics) const {
|
| QuotaLimitHeuristic::Config config = {
|
| // See web_request.json for current value.
|
| @@ -1969,7 +1969,7 @@
|
| heuristics->push_back(heuristic);
|
| }
|
|
|
| -void WebRequestHandlerBehaviorChangedFunction::OnQuotaExceeded(
|
| +void WebRequestHandlerBehaviorChanged::OnQuotaExceeded(
|
| const std::string& violation_error) {
|
| // Post warning message.
|
| ExtensionWarningSet warnings;
|
| @@ -1985,7 +1985,7 @@
|
| Run();
|
| }
|
|
|
| -bool WebRequestHandlerBehaviorChangedFunction::RunImpl() {
|
| +bool WebRequestHandlerBehaviorChanged::RunImpl() {
|
| helpers::ClearCacheOnNavigation();
|
| return true;
|
| }
|
|
|