OLD | NEW |
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 EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_ | 6 #define EXTENSIONS_BROWSER_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> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 536 |
537 // ExtensionFunction: | 537 // ExtensionFunction: |
538 virtual void GetQuotaLimitHeuristics( | 538 virtual void GetQuotaLimitHeuristics( |
539 extensions::QuotaLimitHeuristics* heuristics) const OVERRIDE; | 539 extensions::QuotaLimitHeuristics* heuristics) const OVERRIDE; |
540 // Handle quota exceeded gracefully: Only warn the user but still execute the | 540 // Handle quota exceeded gracefully: Only warn the user but still execute the |
541 // function. | 541 // function. |
542 virtual void OnQuotaExceeded(const std::string& error) OVERRIDE; | 542 virtual void OnQuotaExceeded(const std::string& error) OVERRIDE; |
543 virtual bool RunSync() OVERRIDE; | 543 virtual bool RunSync() OVERRIDE; |
544 }; | 544 }; |
545 | 545 |
546 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_ | 546 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ |
OLD | NEW |