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

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

Issue 708713003: Don't crash when granting permissions to active tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change for with iterators to a foreach. Created 6 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 CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_
6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ 6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_
7 7
8 #include "extensions/renderer/dispatcher_delegate.h" 8 #include "extensions/renderer/dispatcher_delegate.h"
9 9
10 class ChromeExtensionsDispatcherDelegate 10 class ChromeExtensionsDispatcherDelegate
(...skipping 16 matching lines...) Expand all
27 void RegisterNativeHandlers(extensions::Dispatcher* dispatcher, 27 void RegisterNativeHandlers(extensions::Dispatcher* dispatcher,
28 extensions::ModuleSystem* module_system, 28 extensions::ModuleSystem* module_system,
29 extensions::ScriptContext* context) override; 29 extensions::ScriptContext* context) override;
30 void PopulateSourceMap( 30 void PopulateSourceMap(
31 extensions::ResourceBundleSourceMap* source_map) override; 31 extensions::ResourceBundleSourceMap* source_map) override;
32 void RequireAdditionalModules(extensions::ScriptContext* context, 32 void RequireAdditionalModules(extensions::ScriptContext* context,
33 bool is_within_platform_app) override; 33 bool is_within_platform_app) override;
34 void OnActiveExtensionsUpdated( 34 void OnActiveExtensionsUpdated(
35 const std::set<std::string>& extensions_ids) override; 35 const std::set<std::string>& extensions_ids) override;
36 void SetChannel(int channel) override; 36 void SetChannel(int channel) override;
37 void ClearTabSpecificPermissions(
38 const extensions::Dispatcher* dispatcher,
39 int tab_id,
40 const std::vector<std::string>& extension_ids) override;
41 void UpdateTabSpecificPermissions(
42 const extensions::Dispatcher* dispatcher,
43 const GURL& url,
44 int tab_id,
45 const std::string& extension_id,
46 const extensions::URLPatternSet& origin_set) override;
47 37
48 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsDispatcherDelegate); 38 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsDispatcherDelegate);
49 }; 39 };
50 40
51 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ 41 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698