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

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

Issue 11340029: Move remaining files in content\browser to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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) 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_PUBLIC_BROWSER_SITE_INSTANCE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SITE_INSTANCE_H_
6 #define CONTENT_PUBLIC_BROWSER_SITE_INSTANCE_H_ 6 #define CONTENT_PUBLIC_BROWSER_SITE_INSTANCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 12
13 class BrowsingInstance;
14
15 namespace content { 13 namespace content {
16 class BrowserContext; 14 class BrowserContext;
15 class BrowsingInstance;
17 class RenderProcessHost; 16 class RenderProcessHost;
18 17
19 /////////////////////////////////////////////////////////////////////////////// 18 ///////////////////////////////////////////////////////////////////////////////
20 // SiteInstance interface. 19 // SiteInstance interface.
21 // 20 //
22 // A SiteInstance is a data structure that is associated with all pages in a 21 // A SiteInstance is a data structure that is associated with all pages in a
23 // given instance of a web site. Here, a web site is identified by its 22 // given instance of a web site. Here, a web site is identified by its
24 // registered domain name and scheme. An instance includes all pages 23 // registered domain name and scheme. An instance includes all pages
25 // that are connected (i.e., either a user or a script navigated from one 24 // that are connected (i.e., either a user or a script navigated from one
26 // to the other). We represent instances using the BrowsingInstance class. 25 // to the other). We represent instances using the BrowsingInstance class.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 protected: 116 protected:
118 friend class base::RefCounted<SiteInstance>; 117 friend class base::RefCounted<SiteInstance>;
119 118
120 SiteInstance() {} 119 SiteInstance() {}
121 virtual ~SiteInstance() {} 120 virtual ~SiteInstance() {}
122 }; 121 };
123 122
124 } // namespace content. 123 } // namespace content.
125 124
126 #endif // CONTENT_PUBLIC_BROWSER_SITE_INSTANCE_H_ 125 #endif // CONTENT_PUBLIC_BROWSER_SITE_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698