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

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

Issue 10414035: Move TransferNavigationResourceThrottle to content since that's where it belongs. This is a step in… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 (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 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 46 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
47 const GURL& url) OVERRIDE; 47 const GURL& url) OVERRIDE;
48 virtual bool ShouldTryToUseExistingProcessHost( 48 virtual bool ShouldTryToUseExistingProcessHost(
49 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; 49 content::BrowserContext* browser_context, const GURL& url) OVERRIDE;
50 virtual void SiteInstanceGotProcess( 50 virtual void SiteInstanceGotProcess(
51 content::SiteInstance* site_instance) OVERRIDE; 51 content::SiteInstance* site_instance) OVERRIDE;
52 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) 52 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance)
53 OVERRIDE; 53 OVERRIDE;
54 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, 54 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url,
55 const GURL& new_url) OVERRIDE; 55 const GURL& new_url) OVERRIDE;
56 virtual bool ShouldSwapProcessesForRedirect(
57 content::ResourceContext* resource_context,
58 const GURL& current_url,
59 const GURL& new_url) OVERRIDE;
56 virtual std::string GetCanonicalEncodingNameByAliasName( 60 virtual std::string GetCanonicalEncodingNameByAliasName(
57 const std::string& alias_name) OVERRIDE; 61 const std::string& alias_name) OVERRIDE;
58 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 62 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
59 int child_process_id) OVERRIDE; 63 int child_process_id) OVERRIDE;
60 virtual std::string GetApplicationLocale() OVERRIDE; 64 virtual std::string GetApplicationLocale() OVERRIDE;
61 virtual std::string GetAcceptLangs( 65 virtual std::string GetAcceptLangs(
62 content::BrowserContext* context) OVERRIDE; 66 content::BrowserContext* context) OVERRIDE;
63 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; 67 virtual SkBitmap* GetDefaultFavicon() OVERRIDE;
64 virtual bool AllowAppCache(const GURL& manifest_url, 68 virtual bool AllowAppCache(const GURL& manifest_url,
65 const GURL& first_party, 69 const GURL& first_party,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 private: 195 private:
192 // Set of origins that can use TCP/UDP private APIs from NaCl. 196 // Set of origins that can use TCP/UDP private APIs from NaCl.
193 std::set<std::string> allowed_socket_origins_; 197 std::set<std::string> allowed_socket_origins_;
194 198
195 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 199 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
196 }; 200 };
197 201
198 } // namespace chrome 202 } // namespace chrome
199 203
200 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 204 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698