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

Side by Side Diff: trunk/src/apps/shell/browser/shell_extensions_browser_client.h

Issue 164613002: Revert 251094 "Revert 250826 "Remove Profile dependency from app..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 10
(...skipping 15 matching lines...) Expand all
26 content::BrowserContext* context) OVERRIDE; 26 content::BrowserContext* context) OVERRIDE;
27 virtual bool IsValidContext(content::BrowserContext* context) OVERRIDE; 27 virtual bool IsValidContext(content::BrowserContext* context) OVERRIDE;
28 virtual bool IsSameContext(content::BrowserContext* first, 28 virtual bool IsSameContext(content::BrowserContext* first,
29 content::BrowserContext* second) OVERRIDE; 29 content::BrowserContext* second) OVERRIDE;
30 virtual bool HasOffTheRecordContext(content::BrowserContext* context) 30 virtual bool HasOffTheRecordContext(content::BrowserContext* context)
31 OVERRIDE; 31 OVERRIDE;
32 virtual content::BrowserContext* GetOffTheRecordContext( 32 virtual content::BrowserContext* GetOffTheRecordContext(
33 content::BrowserContext* context) OVERRIDE; 33 content::BrowserContext* context) OVERRIDE;
34 virtual content::BrowserContext* GetOriginalContext( 34 virtual content::BrowserContext* GetOriginalContext(
35 content::BrowserContext* context) OVERRIDE; 35 content::BrowserContext* context) OVERRIDE;
36 virtual bool IsGuestSession(content::BrowserContext* context) OVERRIDE;
36 virtual bool IsExtensionIncognitoEnabled( 37 virtual bool IsExtensionIncognitoEnabled(
37 const std::string& extension_id, 38 const std::string& extension_id,
38 content::BrowserContext* context) const OVERRIDE; 39 content::BrowserContext* context) const OVERRIDE;
39 virtual bool CanExtensionCrossIncognito( 40 virtual bool CanExtensionCrossIncognito(
40 const extensions::Extension* extension, 41 const extensions::Extension* extension,
41 content::BrowserContext* context) const OVERRIDE; 42 content::BrowserContext* context) const OVERRIDE;
42 virtual PrefService* GetPrefServiceForContext( 43 virtual PrefService* GetPrefServiceForContext(
43 content::BrowserContext* context) OVERRIDE; 44 content::BrowserContext* context) OVERRIDE;
44 virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context) 45 virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context)
45 const OVERRIDE; 46 const OVERRIDE;
(...skipping 18 matching lines...) Expand all
64 65
65 // The PrefService for |browser_context_|. 66 // The PrefService for |browser_context_|.
66 scoped_ptr<PrefService> prefs_; 67 scoped_ptr<PrefService> prefs_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 69 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
69 }; 70 };
70 71
71 } // namespace extensions 72 } // namespace extensions
72 73
73 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 74 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « trunk/src/apps/app_window_contents.cc ('k') | trunk/src/apps/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698