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

Side by Side Diff: chrome/browser/extensions/api/web_request/web_request_api.h

Issue 11747025: Run the JSON Schema Compiler's bundle compilation on JSON files. Previously it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ms release build Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 public: 426 public:
427 DECLARE_EXTENSION_FUNCTION_NAME("webRequestInternal.eventHandled"); 427 DECLARE_EXTENSION_FUNCTION_NAME("webRequestInternal.eventHandled");
428 428
429 protected: 429 protected:
430 virtual ~WebRequestEventHandled() {} 430 virtual ~WebRequestEventHandled() {}
431 431
432 // ExtensionFunction: 432 // ExtensionFunction:
433 virtual bool RunImpl() OVERRIDE; 433 virtual bool RunImpl() OVERRIDE;
434 }; 434 };
435 435
436 class WebRequestHandlerBehaviorChanged : public SyncIOThreadExtensionFunction { 436 class WebRequestHandlerBehaviorChangedFunction
437 : public SyncIOThreadExtensionFunction {
437 public: 438 public:
438 DECLARE_EXTENSION_FUNCTION_NAME("webRequest.handlerBehaviorChanged"); 439 DECLARE_EXTENSION_FUNCTION_NAME("webRequest.handlerBehaviorChanged");
439 440
440 protected: 441 protected:
441 virtual ~WebRequestHandlerBehaviorChanged() {} 442 virtual ~WebRequestHandlerBehaviorChangedFunction() {}
442 443
443 // ExtensionFunction: 444 // ExtensionFunction:
444 virtual void GetQuotaLimitHeuristics( 445 virtual void GetQuotaLimitHeuristics(
445 QuotaLimitHeuristics* heuristics) const OVERRIDE; 446 QuotaLimitHeuristics* heuristics) const OVERRIDE;
446 // Handle quota exceeded gracefully: Only warn the user but still execute the 447 // Handle quota exceeded gracefully: Only warn the user but still execute the
447 // function. 448 // function.
448 virtual void OnQuotaExceeded(const std::string& error) OVERRIDE; 449 virtual void OnQuotaExceeded(const std::string& error) OVERRIDE;
449 virtual bool RunImpl() OVERRIDE; 450 virtual bool RunImpl() OVERRIDE;
450 }; 451 };
451 452
452 // Send updates to |host| with information about what webRequest-related 453 // Send updates to |host| with information about what webRequest-related
453 // extensions are installed. 454 // extensions are installed.
454 // TODO(mpcomplete): remove. http://crbug.com/100411 455 // TODO(mpcomplete): remove. http://crbug.com/100411
455 void SendExtensionWebRequestStatusToHost(content::RenderProcessHost* host); 456 void SendExtensionWebRequestStatusToHost(content::RenderProcessHost* host);
456 457
457 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_ 458 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698