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

Side by Side Diff: extensions/shell/browser/shell_content_browser_client.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 #include "extensions/shell/browser/shell_content_browser_client.h" 5 #include "extensions/shell/browser/shell_content_browser_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h"
13 #include "components/guest_view/browser/guest_view_message_filter.h" 14 #include "components/guest_view/browser/guest_view_message_filter.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/render_process_host.h" 16 #include "content/public/browser/render_process_host.h"
16 #include "content/public/browser/site_instance.h" 17 #include "content/public/browser/site_instance.h"
17 #include "content/public/browser/storage_partition.h" 18 #include "content/public/browser/storage_partition.h"
18 #include "content/public/common/content_descriptors.h" 19 #include "content/public/common/content_descriptors.h"
19 #include "content/public/common/content_switches.h" 20 #include "content/public/common/content_switches.h"
20 #include "content/public/common/url_constants.h" 21 #include "content/public/common/url_constants.h"
21 #include "content/shell/browser/shell_browser_context.h" 22 #include "content/shell/browser/shell_browser_context.h"
22 #include "content/shell/browser/shell_devtools_manager_delegate.h" 23 #include "content/shell/browser/shell_devtools_manager_delegate.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 271
271 const Extension* ShellContentBrowserClient::GetExtension( 272 const Extension* ShellContentBrowserClient::GetExtension(
272 content::SiteInstance* site_instance) { 273 content::SiteInstance* site_instance) {
273 ExtensionRegistry* registry = 274 ExtensionRegistry* registry =
274 ExtensionRegistry::Get(site_instance->GetBrowserContext()); 275 ExtensionRegistry::Get(site_instance->GetBrowserContext());
275 return registry->enabled_extensions().GetExtensionOrAppByURL( 276 return registry->enabled_extensions().GetExtensionOrAppByURL(
276 site_instance->GetSiteURL()); 277 site_instance->GetSiteURL());
277 } 278 }
278 279
279 } // namespace extensions 280 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/worker_thread_dispatcher.cc ('k') | extensions/shell/browser/shell_desktop_controller_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698