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

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

Issue 14941004: Fix build after https://codereview.chromium.org/13865012/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « chrome/browser/extensions/shell_window_registry.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/browser_process.h" 5 #include "chrome/browser/browser_process.h"
6 #include "chrome/browser/extensions/shell_window_registry.h" 6 #include "chrome/browser/extensions/shell_window_registry.h"
7 #include "chrome/browser/profiles/incognito_helpers.h"
7 #include "chrome/browser/profiles/profile_dependency_manager.h" 8 #include "chrome/browser/profiles/profile_dependency_manager.h"
8 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
9 #include "chrome/browser/ui/extensions/native_app_window.h" 10 #include "chrome/browser/ui/extensions/native_app_window.h"
10 #include "chrome/browser/ui/extensions/shell_window.h" 11 #include "chrome/browser/ui/extensions/shell_window.h"
11 #include "chrome/common/extensions/extension.h" 12 #include "chrome/common/extensions/extension.h"
12 #include "content/public/browser/devtools_agent_host.h" 13 #include "content/public/browser/devtools_agent_host.h"
13 #include "content/public/browser/devtools_manager.h" 14 #include "content/public/browser/devtools_manager.h"
14 #include "content/public/browser/render_process_host.h" 15 #include "content/public/browser/render_process_host.h"
15 #include "content/public/browser/render_view_host.h" 16 #include "content/public/browser/render_view_host.h"
16 #include "content/public/browser/site_instance.h" 17 #include "content/public/browser/site_instance.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 } 251 }
251 252
252 bool ShellWindowRegistry::Factory::ServiceIsCreatedWithProfile() const { 253 bool ShellWindowRegistry::Factory::ServiceIsCreatedWithProfile() const {
253 return true; 254 return true;
254 } 255 }
255 256
256 bool ShellWindowRegistry::Factory::ServiceIsNULLWhileTesting() const { 257 bool ShellWindowRegistry::Factory::ServiceIsNULLWhileTesting() const {
257 return false; 258 return false;
258 } 259 }
259 260
260 bool ShellWindowRegistry::Factory::ServiceRedirectedInIncognito() const { 261 content::BrowserContext* ShellWindowRegistry::Factory::GetBrowserContextToUse(
261 return true; 262 content::BrowserContext* context) const {
263 return chrome::GetBrowserContextRedirectedInIncognito(context);
262 } 264 }
263 265
264 } // namespace extensions 266 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/shell_window_registry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698