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

Side by Side Diff: extensions/renderer/dispatcher_delegate.h

Issue 1312653003: Fix for WebView accessible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by kalman@. Created 5 years, 3 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698