| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H | 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ |
| 6 #define EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H | 6 #define EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "extensions/common/features/feature.h" | 12 #include "extensions/common/features/feature.h" |
| 13 #include "v8/include/v8.h" | 13 #include "v8/include/v8.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 class WebFrame; | 16 class WebFrame; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 const std::string& extension_id, | 84 const std::string& extension_id, |
| 85 const extensions::URLPatternSet& origin_set) {} | 85 const extensions::URLPatternSet& origin_set) {} |
| 86 | 86 |
| 87 // Allows the delegate to respond to reports from the browser about WebRequest | 87 // Allows the delegate to respond to reports from the browser about WebRequest |
| 88 // API usage from within this process. | 88 // API usage from within this process. |
| 89 virtual void HandleWebRequestAPIUsage(bool webrequest_used) {} | 89 virtual void HandleWebRequestAPIUsage(bool webrequest_used) {} |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace extensions | 92 } // namespace extensions |
| 93 | 93 |
| 94 #endif // EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H | 94 #endif // EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ |
| OLD | NEW |