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

Side by Side Diff: android_webview/browser/aw_browser_context.h

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a merging of removed variable. 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
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.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 ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
7 7
8 #include "content/public/browser/browser_context.h" 8 #include "content/public/browser/browser_context.h"
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 11 matching lines...) Expand all
22 // Called before BrowserThreads are created. 22 // Called before BrowserThreads are created.
23 void InitializeBeforeThreadCreation(); 23 void InitializeBeforeThreadCreation();
24 24
25 // content::BrowserContext implementation. 25 // content::BrowserContext implementation.
26 virtual FilePath GetPath() OVERRIDE; 26 virtual FilePath GetPath() OVERRIDE;
27 virtual bool IsOffTheRecord() const OVERRIDE; 27 virtual bool IsOffTheRecord() const OVERRIDE;
28 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 28 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
29 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 29 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
30 int renderer_child_id) OVERRIDE; 30 int renderer_child_id) OVERRIDE;
31 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 31 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
32 const std::string& partition_id) OVERRIDE; 32 const FilePath& partition_path, bool in_memory) OVERRIDE;
33 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 33 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
34 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 34 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
35 int renderer_child_id) OVERRIDE; 35 int renderer_child_id) OVERRIDE;
36 virtual net::URLRequestContextGetter* 36 virtual net::URLRequestContextGetter*
37 GetMediaRequestContextForStoragePartition( 37 GetMediaRequestContextForStoragePartition(
38 const std::string& partition_id) OVERRIDE; 38 const FilePath& partition_path, bool in_memory) OVERRIDE;
39 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 39 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
40 virtual content::DownloadManagerDelegate* 40 virtual content::DownloadManagerDelegate*
41 GetDownloadManagerDelegate() OVERRIDE; 41 GetDownloadManagerDelegate() OVERRIDE;
42 virtual content::GeolocationPermissionContext* 42 virtual content::GeolocationPermissionContext*
43 GetGeolocationPermissionContext() OVERRIDE; 43 GetGeolocationPermissionContext() OVERRIDE;
44 virtual content::SpeechRecognitionPreferences* 44 virtual content::SpeechRecognitionPreferences*
45 GetSpeechRecognitionPreferences() OVERRIDE; 45 GetSpeechRecognitionPreferences() OVERRIDE;
46 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 46 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
47 47
48 private: 48 private:
49 49
50 // The file path where data for this context is persisted. 50 // The file path where data for this context is persisted.
51 FilePath context_storage_path_; 51 FilePath context_storage_path_;
52 52
53 scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_; 53 scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 55 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
56 }; 56 };
57 57
58 } // namespace android_webview 58 } // namespace android_webview
59 59
60 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 60 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698