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

Side by Side Diff: chrome/renderer/extensions/extension_dispatcher.h

Issue 10024055: Remove unneeded extension_messages_browsertest.cc + cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 int world_id); 82 int world_id);
83 83
84 void DidCreateScriptContext(WebKit::WebFrame* frame, 84 void DidCreateScriptContext(WebKit::WebFrame* frame,
85 v8::Handle<v8::Context> context, 85 v8::Handle<v8::Context> context,
86 int extension_group, 86 int extension_group,
87 int world_id); 87 int world_id);
88 void WillReleaseScriptContext(WebKit::WebFrame* frame, 88 void WillReleaseScriptContext(WebKit::WebFrame* frame,
89 v8::Handle<v8::Context> context, 89 v8::Handle<v8::Context> context,
90 int world_id); 90 int world_id);
91 91
92 void SetTestExtensionId(const std::string& extension_id);
93 bool IsTestExtensionId(const std::string& id);
94
95 // TODO(mpcomplete): remove. http://crbug.com/100411 92 // TODO(mpcomplete): remove. http://crbug.com/100411
96 bool IsAdblockWithWebRequestInstalled() const { 93 bool IsAdblockWithWebRequestInstalled() const {
97 return webrequest_adblock_; 94 return webrequest_adblock_;
98 } 95 }
99 bool IsAdblockPlusWithWebRequestInstalled() const { 96 bool IsAdblockPlusWithWebRequestInstalled() const {
100 return webrequest_adblock_plus_; 97 return webrequest_adblock_plus_;
101 } 98 }
102 bool IsOtherExtensionWithWebRequestInstalled() const { 99 bool IsOtherExtensionWithWebRequestInstalled() const {
103 return webrequest_other_; 100 return webrequest_other_;
104 } 101 }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // them. 236 // them.
240 std::map<std::string, BindingInstaller> lazy_bindings_map_; 237 std::map<std::string, BindingInstaller> lazy_bindings_map_;
241 238
242 // Sends API requests to the extension host. 239 // Sends API requests to the extension host.
243 scoped_ptr<ExtensionRequestSender> request_sender_; 240 scoped_ptr<ExtensionRequestSender> request_sender_;
244 241
245 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher); 242 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher);
246 }; 243 };
247 244
248 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 245 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698