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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/browsing_instance.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BROWSING_INSTANCE_H_ 5 #ifndef CHROME_BROWSER_BROWSING_INSTANCE_H_
6 #define CHROME_BROWSER_BROWSING_INSTANCE_H_ 6 #define CHROME_BROWSER_BROWSING_INSTANCE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 12
13 class GURL; 13 class GURL;
14 class SiteInstance; 14 class SiteInstance;
15 15
16 /////////////////////////////////////////////////////////////////////////////// 16 ///////////////////////////////////////////////////////////////////////////////
17 // 17 //
18 // BrowsingInstance class 18 // BrowsingInstance class
19 // 19 //
20 // A browsing instance corresponds to the notion of a "unit of related browsing 20 // A browsing instance corresponds to the notion of a "unit of related browsing
21 // contexts" in the HTML 5 spec. Intuitively, it represents a collection of 21 // contexts" in the HTML 5 spec. Intuitively, it represents a collection of
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // This field is only used if we are not using process-per-site. 126 // This field is only used if we are not using process-per-site.
127 SiteInstanceMap site_instance_map_; 127 SiteInstanceMap site_instance_map_;
128 128
129 // Global map of Profile to SiteInstanceMap, for process-per-site. 129 // Global map of Profile to SiteInstanceMap, for process-per-site.
130 static ProfileSiteInstanceMap profile_site_instance_map_; 130 static ProfileSiteInstanceMap profile_site_instance_map_;
131 131
132 DISALLOW_COPY_AND_ASSIGN(BrowsingInstance); 132 DISALLOW_COPY_AND_ASSIGN(BrowsingInstance);
133 }; 133 };
134 134
135 #endif // CHROME_BROWSER_BROWSING_INSTANCE_H_ 135 #endif // CHROME_BROWSER_BROWSING_INSTANCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/browsing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698