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

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

Issue 10546029: Revert 139933 - Clean up RenderViewHostManager swapping logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | 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 #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 const GURL& url) OVERRIDE; 46 const GURL& url) OVERRIDE;
47 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 47 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
48 virtual bool IsSuitableHost(content::RenderProcessHost* process_host, 48 virtual bool IsSuitableHost(content::RenderProcessHost* process_host,
49 const GURL& url) OVERRIDE; 49 const GURL& url) OVERRIDE;
50 virtual bool ShouldTryToUseExistingProcessHost( 50 virtual bool ShouldTryToUseExistingProcessHost(
51 content::BrowserContext* browser_context, const GURL& url) OVERRIDE; 51 content::BrowserContext* browser_context, const GURL& url) OVERRIDE;
52 virtual void SiteInstanceGotProcess( 52 virtual void SiteInstanceGotProcess(
53 content::SiteInstance* site_instance) OVERRIDE; 53 content::SiteInstance* site_instance) OVERRIDE;
54 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) 54 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance)
55 OVERRIDE; 55 OVERRIDE;
56 virtual bool ShouldSwapBrowsingInstanceForNavigation( 56 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url,
57 content::BrowserContext* browser_context, 57 const GURL& new_url) OVERRIDE;
58 const GURL& current_url,
59 const GURL& new_url) OVERRIDE;
60 virtual bool ShouldSwapProcessesForRedirect( 58 virtual bool ShouldSwapProcessesForRedirect(
61 content::ResourceContext* resource_context, 59 content::ResourceContext* resource_context,
62 const GURL& current_url, 60 const GURL& current_url,
63 const GURL& new_url) OVERRIDE; 61 const GURL& new_url) OVERRIDE;
64 virtual std::string GetCanonicalEncodingNameByAliasName( 62 virtual std::string GetCanonicalEncodingNameByAliasName(
65 const std::string& alias_name) OVERRIDE; 63 const std::string& alias_name) OVERRIDE;
66 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 64 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
67 int child_process_id) OVERRIDE; 65 int child_process_id) OVERRIDE;
68 virtual std::string GetApplicationLocale() OVERRIDE; 66 virtual std::string GetApplicationLocale() OVERRIDE;
69 virtual std::string GetAcceptLangs( 67 virtual std::string GetAcceptLangs(
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 private: 196 private:
199 // Set of origins that can use TCP/UDP private APIs from NaCl. 197 // Set of origins that can use TCP/UDP private APIs from NaCl.
200 std::set<std::string> allowed_socket_origins_; 198 std::set<std::string> allowed_socket_origins_;
201 199
202 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 200 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
203 }; 201 };
204 202
205 } // namespace chrome 203 } // namespace chrome
206 204
207 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 205 #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