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

Side by Side Diff: content/shell/shell_browser_context.h

Issue 8135017: Refactor downloads into a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated latest rounds of comments from John. Created 9 years, 2 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
« no previous file with comments | « content/browser/download/download_manager.cc ('k') | content/shell/shell_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SHELL_SHELL_BROWSER_CONTEXT_H_ 5 #ifndef CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_
6 #define CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ 6 #define CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 17 matching lines...) Expand all
28 class ShellBrowserContext : public BrowserContext { 28 class ShellBrowserContext : public BrowserContext {
29 public: 29 public:
30 explicit ShellBrowserContext(ShellBrowserMainParts* shell_main_parts); 30 explicit ShellBrowserContext(ShellBrowserMainParts* shell_main_parts);
31 virtual ~ShellBrowserContext(); 31 virtual ~ShellBrowserContext();
32 32
33 // BrowserContext implementation. 33 // BrowserContext implementation.
34 virtual FilePath GetPath() OVERRIDE; 34 virtual FilePath GetPath() OVERRIDE;
35 virtual bool IsOffTheRecord() OVERRIDE; 35 virtual bool IsOffTheRecord() OVERRIDE;
36 virtual SSLHostState* GetSSLHostState() OVERRIDE; 36 virtual SSLHostState* GetSSLHostState() OVERRIDE;
37 virtual DownloadManager* GetDownloadManager() OVERRIDE; 37 virtual DownloadManager* GetDownloadManager() OVERRIDE;
38 virtual bool HasCreatedDownloadManager() const OVERRIDE;
39 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 38 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
40 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 39 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
41 int renderer_child_id) OVERRIDE; 40 int renderer_child_id) OVERRIDE;
42 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; 41 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE;
43 virtual const ResourceContext& GetResourceContext() OVERRIDE; 42 virtual const ResourceContext& GetResourceContext() OVERRIDE;
44 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; 43 virtual HostZoomMap* GetHostZoomMap() OVERRIDE;
45 virtual GeolocationPermissionContext* 44 virtual GeolocationPermissionContext*
46 GetGeolocationPermissionContext() OVERRIDE; 45 GetGeolocationPermissionContext() OVERRIDE;
47 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; 46 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE;
48 virtual bool DidLastSessionExitCleanly() OVERRIDE; 47 virtual bool DidLastSessionExitCleanly() OVERRIDE;
(...skipping 25 matching lines...) Expand all
74 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; 73 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
75 74
76 ShellBrowserMainParts* shell_main_parts_; 75 ShellBrowserMainParts* shell_main_parts_;
77 76
78 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); 77 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext);
79 }; 78 };
80 79
81 } // namespace content 80 } // namespace content
82 81
83 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ 82 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_manager.cc ('k') | content/shell/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698