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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 1321723009: Protocol handlers should be able to register a service worker. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test Created 5 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_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 (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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 content::BrowserContext* browser_context, 85 content::BrowserContext* browser_context,
86 content::ProtocolHandlerMap* protocol_handlers, 86 content::ProtocolHandlerMap* protocol_handlers,
87 content::URLRequestInterceptorScopedVector request_interceptors) override; 87 content::URLRequestInterceptorScopedVector request_interceptors) override;
88 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 88 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
89 content::BrowserContext* browser_context, 89 content::BrowserContext* browser_context,
90 const base::FilePath& partition_path, 90 const base::FilePath& partition_path,
91 bool in_memory, 91 bool in_memory,
92 content::ProtocolHandlerMap* protocol_handlers, 92 content::ProtocolHandlerMap* protocol_handlers,
93 content::URLRequestInterceptorScopedVector request_interceptors) override; 93 content::URLRequestInterceptorScopedVector request_interceptors) override;
94 bool IsHandledURL(const GURL& url) override; 94 bool IsHandledURL(const GURL& url) override;
95 GURL GetHandlerFor(content::BrowserContext* browser_context,
96 const GURL& url) override;
95 bool CanCommitURL(content::RenderProcessHost* process_host, 97 bool CanCommitURL(content::RenderProcessHost* process_host,
96 const GURL& url) override; 98 const GURL& url) override;
97 bool IsIllegalOrigin(content::ResourceContext* resource_context, 99 bool IsIllegalOrigin(content::ResourceContext* resource_context,
98 int child_process_id, 100 int child_process_id,
99 const GURL& origin) override; 101 const GURL& origin) override;
100 bool ShouldAllowOpenURL(content::SiteInstance* site_instance, 102 bool ShouldAllowOpenURL(content::SiteInstance* site_instance,
101 const GURL& url) override; 103 const GURL& url) override;
102 bool IsSuitableHost(content::RenderProcessHost* process_host, 104 bool IsSuitableHost(content::RenderProcessHost* process_host,
103 const GURL& site_url) override; 105 const GURL& site_url) override;
104 bool MayReuseHost(content::RenderProcessHost* process_host) override; 106 bool MayReuseHost(content::RenderProcessHost* process_host) override;
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 337 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
336 338
337 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 339 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
338 340
339 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 341 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
340 }; 342 };
341 343
342 } // namespace chrome 344 } // namespace chrome
343 345
344 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 346 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698