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

Side by Side Diff: content/browser/site_instance_impl.h

Issue 92153003: Rename RenderViewHostManager to RenderFrameHostManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_
6 #define CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_ 6 #define CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/render_process_host_observer.h" 10 #include "content/public/browser/render_process_host_observer.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // (this is the behavior if you don't call this function). The factory must 64 // (this is the behavior if you don't call this function). The factory must
65 // be set back to NULL before it's destroyed; ownership is not transferred. 65 // be set back to NULL before it's destroyed; ownership is not transferred.
66 static void set_render_process_host_factory( 66 static void set_render_process_host_factory(
67 const RenderProcessHostFactory* rph_factory); 67 const RenderProcessHostFactory* rph_factory);
68 68
69 // Get the effective URL for the given actual URL. This allows the 69 // Get the effective URL for the given actual URL. This allows the
70 // ContentBrowserClient to override the SiteInstance's site for certain URLs. 70 // ContentBrowserClient to override the SiteInstance's site for certain URLs.
71 // For example, Chrome uses this to replace hosted app URLs with extension 71 // For example, Chrome uses this to replace hosted app URLs with extension
72 // hosts. 72 // hosts.
73 // Only public so that we can make a consistent process swap decision in 73 // Only public so that we can make a consistent process swap decision in
74 // RenderViewHostManager. 74 // RenderFrameHostManager.
75 static GURL GetEffectiveURL(BrowserContext* browser_context, 75 static GURL GetEffectiveURL(BrowserContext* browser_context,
76 const GURL& url); 76 const GURL& url);
77 77
78 protected: 78 protected:
79 friend class BrowsingInstance; 79 friend class BrowsingInstance;
80 friend class SiteInstance; 80 friend class SiteInstance;
81 81
82 // Virtual to allow tests to extend it. 82 // Virtual to allow tests to extend it.
83 virtual ~SiteInstanceImpl(); 83 virtual ~SiteInstanceImpl();
84 84
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 // Whether SetSite has been called. 121 // Whether SetSite has been called.
122 bool has_site_; 122 bool has_site_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(SiteInstanceImpl); 124 DISALLOW_COPY_AND_ASSIGN(SiteInstanceImpl);
125 }; 125 };
126 126
127 } // namespace content 127 } // namespace content
128 128
129 #endif // CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_ 129 #endif // CONTENT_BROWSER_SITE_INSTANCE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698