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

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

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_HOST_SITE_INSTANCE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/renderer_host/render_process_host.h" 9 #include "content/browser/renderer_host/render_process_host_impl.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "content/public/browser/notification_observer.h" 11 #include "content/public/browser/notification_observer.h"
12 #include "content/public/browser/notification_registrar.h" 12 #include "content/public/browser/notification_registrar.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 14
15 class BrowsingInstance; 15 class BrowsingInstance;
16 16
17 namespace content { 17 namespace content {
18 class BrowserContext; 18 class BrowserContext;
19 } 19 }
20 20
21 class RenderProcessHostFactory;
22
21 /////////////////////////////////////////////////////////////////////////////// 23 ///////////////////////////////////////////////////////////////////////////////
22 // 24 //
23 // SiteInstance class 25 // SiteInstance class
24 // 26 //
25 // A SiteInstance is a data structure that is associated with all pages in a 27 // A SiteInstance is a data structure that is associated with all pages in a
26 // given instance of a web site. Here, a web site is identified by its 28 // given instance of a web site. Here, a web site is identified by its
27 // registered domain name and scheme. An instance includes all pages 29 // registered domain name and scheme. An instance includes all pages
28 // that are connected (i.e., either a user or a script navigated from one 30 // that are connected (i.e., either a user or a script navigated from one
29 // to the other). We represent instances using the BrowsingInstance class. 31 // to the other). We represent instances using the BrowsingInstance class.
30 // 32 //
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // The web site that this SiteInstance is rendering pages for. 201 // The web site that this SiteInstance is rendering pages for.
200 GURL site_; 202 GURL site_;
201 203
202 // Whether SetSite has been called. 204 // Whether SetSite has been called.
203 bool has_site_; 205 bool has_site_;
204 206
205 DISALLOW_COPY_AND_ASSIGN(SiteInstance); 207 DISALLOW_COPY_AND_ASSIGN(SiteInstance);
206 }; 208 };
207 209
208 #endif // CONTENT_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_ 210 #endif // CONTENT_BROWSER_RENDERER_HOST_SITE_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698