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

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

Issue 1412683007: Revert of [Extensions] Migrate ServiceWorker off behavior feature system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_H_ 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_H_
6 #define EXTENSIONS_RENDERER_DISPATCHER_H_ 6 #define EXTENSIONS_RENDERER_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 v8::Local<v8::Object> GetOrCreateBindObjectIfAvailable( 240 v8::Local<v8::Object> GetOrCreateBindObjectIfAvailable(
241 const std::string& api_name, 241 const std::string& api_name,
242 std::string* bind_name, 242 std::string* bind_name,
243 ScriptContext* context); 243 ScriptContext* context);
244 244
245 // Requires the GuestView modules in the module system of the ScriptContext 245 // Requires the GuestView modules in the module system of the ScriptContext
246 // |context|. 246 // |context|.
247 void RequireGuestViewModules(ScriptContext* context); 247 void RequireGuestViewModules(ScriptContext* context);
248 248
249 // Adds features that are specific to the current channel.
250 void AddChannelSpecificFeatures();
251
249 // The delegate for this dispatcher. Not owned, but must extend beyond the 252 // The delegate for this dispatcher. Not owned, but must extend beyond the
250 // Dispatcher's own lifetime. 253 // Dispatcher's own lifetime.
251 DispatcherDelegate* delegate_; 254 DispatcherDelegate* delegate_;
252 255
253 // True if the IdleNotification timer should be set. 256 // True if the IdleNotification timer should be set.
254 bool set_idle_notifications_; 257 bool set_idle_notifications_;
255 258
256 // The IDs of extensions that failed to load, mapped to the error message 259 // The IDs of extensions that failed to load, mapped to the error message
257 // generated on failure. 260 // generated on failure.
258 std::map<std::string, std::string> extension_load_errors_; 261 std::map<std::string, std::string> extension_load_errors_;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 // if this renderer is a WebView guest render process. Otherwise, this will be 307 // if this renderer is a WebView guest render process. Otherwise, this will be
305 // empty. 308 // empty.
306 std::string webview_partition_id_; 309 std::string webview_partition_id_;
307 310
308 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 311 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
309 }; 312 };
310 313
311 } // namespace extensions 314 } // namespace extensions
312 315
313 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ 316 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698