| 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 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 // Allows the delegate to respond to an updated set of active extensions in | 46 // Allows the delegate to respond to an updated set of active extensions in |
| 47 // the Dispatcher. | 47 // the Dispatcher. |
| 48 virtual void OnActiveExtensionsUpdated( | 48 virtual void OnActiveExtensionsUpdated( |
| 49 const std::set<std::string>& extension_ids) {} | 49 const std::set<std::string>& extension_ids) {} |
| 50 | 50 |
| 51 // Sets the current Chrome channel. | 51 // Sets the current Chrome channel. |
| 52 // TODO(rockot): This doesn't belong in a generic extensions system interface. | 52 // TODO(rockot): This doesn't belong in a generic extensions system interface. |
| 53 // See http://crbug.com/368431. | 53 // See http://crbug.com/368431. |
| 54 virtual void SetChannel(int channel) {} | 54 virtual void SetChannel(int channel) {} |
| 55 |
| 56 // Sets the WebView parition ID for this renderer process. This should only be |
| 57 // called in a WebView guest renderer process. |
| 58 virtual void SetWebViewPartitionID(const std::string& parition_id) {} |
| 55 }; | 59 }; |
| 56 | 60 |
| 57 } // namespace extensions | 61 } // namespace extensions |
| 58 | 62 |
| 59 #endif // EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ | 63 #endif // EXTENSIONS_RENDERER_DISPATCHER_DELEGATE_H_ |
| OLD | NEW |