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

Side by Side Diff: chrome/browser/extensions/chrome_extension_host_delegate.cc

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase 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 #include "chrome/browser/extensions/chrome_extension_host_delegate.h" 5 #include "chrome/browser/extensions/chrome_extension_host_delegate.h"
6 6
7 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h" 7 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
8 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/extensions/extension_tab_util.h" 9 #include "chrome/browser/extensions/extension_tab_util.h"
10 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 10 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
11 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" 11 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
12 #include "components/app_modal_dialogs/javascript_dialog_manager.h" 12 #include "components/app_modal/javascript_dialog_manager.h"
13 #include "extensions/browser/extension_host.h" 13 #include "extensions/browser/extension_host.h"
14 #include "extensions/browser/extension_system.h" 14 #include "extensions/browser/extension_system.h"
15 15
16 namespace extensions { 16 namespace extensions {
17 17
18 ChromeExtensionHostDelegate::ChromeExtensionHostDelegate() {} 18 ChromeExtensionHostDelegate::ChromeExtensionHostDelegate() {}
19 19
20 ChromeExtensionHostDelegate::~ChromeExtensionHostDelegate() {} 20 ChromeExtensionHostDelegate::~ChromeExtensionHostDelegate() {}
21 21
22 void ChromeExtensionHostDelegate::OnExtensionHostCreated( 22 void ChromeExtensionHostDelegate::OnExtensionHostCreated(
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 content::WebContents* web_contents, 60 content::WebContents* web_contents,
61 const GURL& security_origin, 61 const GURL& security_origin,
62 content::MediaStreamType type, 62 content::MediaStreamType type,
63 const Extension* extension) { 63 const Extension* extension) {
64 return MediaCaptureDevicesDispatcher::GetInstance() 64 return MediaCaptureDevicesDispatcher::GetInstance()
65 ->CheckMediaAccessPermission( 65 ->CheckMediaAccessPermission(
66 web_contents, security_origin, type, extension); 66 web_contents, security_origin, type, extension);
67 } 67 }
68 68
69 } // namespace extensions 69 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/alert_apitest.cc ('k') | chrome/browser/extensions/lazy_background_page_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698