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

Side by Side Diff: apps/shell/shell_extensions_browser_client.h

Issue 132993002: app_shell: Fix PrefsTabHelper dependency of ExtensionHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | apps/shell/shell_extensions_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef APPS_SHELL_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define APPS_SHELL_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define APPS_SHELL_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 22 matching lines...) Expand all
33 virtual content::BrowserContext* GetOffTheRecordContext( 33 virtual content::BrowserContext* GetOffTheRecordContext(
34 content::BrowserContext* context) OVERRIDE; 34 content::BrowserContext* context) OVERRIDE;
35 virtual content::BrowserContext* GetOriginalContext( 35 virtual content::BrowserContext* GetOriginalContext(
36 content::BrowserContext* context) OVERRIDE; 36 content::BrowserContext* context) OVERRIDE;
37 virtual PrefService* GetPrefServiceForContext( 37 virtual PrefService* GetPrefServiceForContext(
38 content::BrowserContext* context) OVERRIDE; 38 content::BrowserContext* context) OVERRIDE;
39 virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context) 39 virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context)
40 const OVERRIDE; 40 const OVERRIDE;
41 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) 41 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context)
42 const OVERRIDE; 42 const OVERRIDE;
43 virtual void OnExtensionHostCreated(content::WebContents* web_contents)
44 OVERRIDE;
43 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; 45 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE;
44 virtual scoped_ptr<extensions::AppSorting> CreateAppSorting() OVERRIDE; 46 virtual scoped_ptr<extensions::AppSorting> CreateAppSorting() OVERRIDE;
45 virtual bool IsRunningInForcedAppMode() OVERRIDE; 47 virtual bool IsRunningInForcedAppMode() OVERRIDE;
46 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() 48 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager()
47 OVERRIDE; 49 OVERRIDE;
48 50
49 private: 51 private:
50 // The single BrowserContext for app_shell. Not owned. 52 // The single BrowserContext for app_shell. Not owned.
51 content::BrowserContext* browser_context_; 53 content::BrowserContext* browser_context_;
52 54
53 // The PrefService for |browser_context_|. 55 // The PrefService for |browser_context_|.
54 scoped_ptr<PrefService> prefs_; 56 scoped_ptr<PrefService> prefs_;
55 57
56 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 58 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
57 }; 59 };
58 60
59 } // namespace apps 61 } // namespace apps
60 62
61 #endif // APPS_SHELL_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 63 #endif // APPS_SHELL_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | apps/shell/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698