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

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

Issue 590603002: Remove ExtensionAPIClient::IsWebViewRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed silly bug Created 6 years, 3 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 #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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 content::BrowserContext* context) OVERRIDE; 42 content::BrowserContext* context) OVERRIDE;
43 virtual content::BrowserContext* GetOriginalContext( 43 virtual content::BrowserContext* GetOriginalContext(
44 content::BrowserContext* context) OVERRIDE; 44 content::BrowserContext* context) OVERRIDE;
45 virtual bool IsGuestSession(content::BrowserContext* context) const OVERRIDE; 45 virtual bool IsGuestSession(content::BrowserContext* context) const OVERRIDE;
46 virtual bool IsExtensionIncognitoEnabled( 46 virtual bool IsExtensionIncognitoEnabled(
47 const std::string& extension_id, 47 const std::string& extension_id,
48 content::BrowserContext* context) const OVERRIDE; 48 content::BrowserContext* context) const OVERRIDE;
49 virtual bool CanExtensionCrossIncognito( 49 virtual bool CanExtensionCrossIncognito(
50 const extensions::Extension* extension, 50 const extensions::Extension* extension,
51 content::BrowserContext* context) const OVERRIDE; 51 content::BrowserContext* context) const OVERRIDE;
52 virtual bool IsWebViewRequest(net::URLRequest* request) const OVERRIDE;
53 virtual net::URLRequestJob* MaybeCreateResourceBundleRequestJob( 52 virtual net::URLRequestJob* MaybeCreateResourceBundleRequestJob(
54 net::URLRequest* request, 53 net::URLRequest* request,
55 net::NetworkDelegate* network_delegate, 54 net::NetworkDelegate* network_delegate,
56 const base::FilePath& directory_path, 55 const base::FilePath& directory_path,
57 const std::string& content_security_policy, 56 const std::string& content_security_policy,
58 bool send_cors_header) OVERRIDE; 57 bool send_cors_header) OVERRIDE;
59 virtual bool AllowCrossRendererResourceLoad(net::URLRequest* request, 58 virtual bool AllowCrossRendererResourceLoad(net::URLRequest* request,
60 bool is_incognito, 59 bool is_incognito,
61 const Extension* extension, 60 const Extension* extension,
62 InfoMap* extension_info_map) 61 InfoMap* extension_info_map)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 95
97 // Not owned, defaults to NULL. 96 // Not owned, defaults to NULL.
98 ExtensionSystemProvider* extension_system_factory_; 97 ExtensionSystemProvider* extension_system_factory_;
99 98
100 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 99 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
101 }; 100 };
102 101
103 } // namespace extensions 102 } // namespace extensions
104 103
105 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 104 #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