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

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

Issue 9443033: Fail gracefully if InitializeResourceContext ends up calling itself recursively. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Respond to review comments. Created 8 years, 10 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
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/resource_context_impl.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) 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_RESOURCE_CONTEXT_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
7 7
8 #include "content/public/browser/resource_context.h" 8 #include "content/public/browser/resource_context.h"
9 9
10 class ChromeBlobStorageContext; 10 class ChromeBlobStorageContext;
(...skipping 13 matching lines...) Expand all
24 // public API. 24 // public API.
25 webkit_database::DatabaseTracker* GetDatabaseTrackerForResourceContext( 25 webkit_database::DatabaseTracker* GetDatabaseTrackerForResourceContext(
26 ResourceContext* resource_context); 26 ResourceContext* resource_context);
27 WebKitContext* GetWebKitContextForResourceContext( 27 WebKitContext* GetWebKitContextForResourceContext(
28 ResourceContext* resource_context); 28 ResourceContext* resource_context);
29 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext( 29 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
30 ResourceContext* resource_context); 30 ResourceContext* resource_context);
31 HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context); 31 HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context);
32 32
33 // Initialize the above data on the ResourceContext from a given BrowserContext. 33 // Initialize the above data on the ResourceContext from a given BrowserContext.
34 void InitializeResourceContext(BrowserContext* browser_context); 34 void EnsureResourceContextInitialized(BrowserContext* browser_context);
35 35
36 } // namespace content 36 } // namespace content
37 37
38 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 38 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/resource_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698