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

Side by Side Diff: trunk/src/content/browser/storage_partition_impl_map.h

Issue 23551005: Revert 219709 "Remove the Extensions URLRequestContext." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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
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_STORAGE_PARTITION_MAP_H_ 5 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_
6 #define CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_ 6 #define CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // This must always be called *after* |partition| has been added to the 112 // This must always be called *after* |partition| has been added to the
113 // partitions_. 113 // partitions_.
114 // 114 //
115 // TODO(ajwong): Is there a way to make it so that Get()'s implementation 115 // TODO(ajwong): Is there a way to make it so that Get()'s implementation
116 // doesn't need to be aware of this ordering? Revisit when refactoring 116 // doesn't need to be aware of this ordering? Revisit when refactoring
117 // ResourceContext and AppCache to respect storage partitions. 117 // ResourceContext and AppCache to respect storage partitions.
118 void PostCreateInitialization(StoragePartitionImpl* partition, 118 void PostCreateInitialization(StoragePartitionImpl* partition,
119 bool in_memory); 119 bool in_memory);
120 120
121 scoped_ptr<CookieStoreMap> CreateCookieStores(
122 const base::FilePath& partition_path,
123 bool in_memory_partition,
124 bool is_default_partition);
125
126 BrowserContext* browser_context_; // Not Owned. 121 BrowserContext* browser_context_; // Not Owned.
127 scoped_refptr<base::SequencedTaskRunner> file_access_runner_; 122 scoped_refptr<base::SequencedTaskRunner> file_access_runner_;
128 PartitionMap partitions_; 123 PartitionMap partitions_;
129 124
130 // Set to true when the ResourceContext for the associated |browser_context_| 125 // Set to true when the ResourceContext for the associated |browser_context_|
131 // is initialized. Can never return to false. 126 // is initialized. Can never return to false.
132 bool resource_context_initialized_; 127 bool resource_context_initialized_;
133 }; 128 };
134 129
135 } // namespace content 130 } // namespace content
136 131
137 #endif // CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_ 132 #endif // CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_
OLDNEW
« no previous file with comments | « trunk/src/content/browser/storage_partition_impl.cc ('k') | trunk/src/content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698