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

Side by Side Diff: extensions/browser/test_extensions_browser_client.h

Issue 229733002: Toro: Move ExtensionProtocolHandler to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (extension-protocols) Created 6 years, 8 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 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 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_TEST_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 24 matching lines...) Expand all
35 content::BrowserContext* context) OVERRIDE; 35 content::BrowserContext* context) OVERRIDE;
36 virtual content::BrowserContext* GetOriginalContext( 36 virtual content::BrowserContext* GetOriginalContext(
37 content::BrowserContext* context) OVERRIDE; 37 content::BrowserContext* context) OVERRIDE;
38 virtual bool IsGuestSession(content::BrowserContext* context) const OVERRIDE; 38 virtual bool IsGuestSession(content::BrowserContext* context) const OVERRIDE;
39 virtual bool IsExtensionIncognitoEnabled( 39 virtual bool IsExtensionIncognitoEnabled(
40 const std::string& extension_id, 40 const std::string& extension_id,
41 content::BrowserContext* context) const OVERRIDE; 41 content::BrowserContext* context) const OVERRIDE;
42 virtual bool CanExtensionCrossIncognito( 42 virtual bool CanExtensionCrossIncognito(
43 const extensions::Extension* extension, 43 const extensions::Extension* extension,
44 content::BrowserContext* context) const OVERRIDE; 44 content::BrowserContext* context) const OVERRIDE;
45 virtual net::URLRequestJob* MaybeCreateResourceBundleRequestJob(
46 net::URLRequest* request,
47 net::NetworkDelegate* network_delegate,
48 const base::FilePath& directory_path,
49 const std::string& content_security_policy,
50 bool send_cors_header) OVERRIDE;
51 virtual bool AllowCrossRendererResourceLoad(net::URLRequest* request,
52 bool is_incognito,
53 const Extension* extension,
54 InfoMap* extension_info_map)
55 OVERRIDE;
45 virtual PrefService* GetPrefServiceForContext( 56 virtual PrefService* GetPrefServiceForContext(
46 content::BrowserContext* context) OVERRIDE; 57 content::BrowserContext* context) OVERRIDE;
47 virtual void GetEarlyExtensionPrefsObservers( 58 virtual void GetEarlyExtensionPrefsObservers(
48 content::BrowserContext* context, 59 content::BrowserContext* context,
49 std::vector<ExtensionPrefsObserver*>* observers) const OVERRIDE; 60 std::vector<ExtensionPrefsObserver*>* observers) const OVERRIDE;
50 virtual bool DeferLoadingBackgroundHosts( 61 virtual bool DeferLoadingBackgroundHosts(
51 content::BrowserContext* context) const OVERRIDE; 62 content::BrowserContext* context) const OVERRIDE;
52 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) const 63 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) const
53 OVERRIDE; 64 OVERRIDE;
54 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() 65 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate()
(...skipping 10 matching lines...) Expand all
65 private: 76 private:
66 content::BrowserContext* main_context_; // Not owned. 77 content::BrowserContext* main_context_; // Not owned.
67 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. 78 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL.
68 79
69 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 80 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
70 }; 81 };
71 82
72 } // namespace extensions 83 } // namespace extensions
73 84
74 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 85 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/extensions_browser_client.h ('k') | extensions/browser/test_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698