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

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

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « content/public/test/test_launcher.cc ('k') | content/test/layout_browsertest.h » ('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_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 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/files/scoped_temp_dir.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "base/scoped_temp_dir.h"
13 #include "content/public/browser/browser_context.h" 13 #include "content/public/browser/browser_context.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 class DownloadManagerDelegate; 17 class DownloadManagerDelegate;
18 class ResourceContext; 18 class ResourceContext;
19 class ShellDownloadManagerDelegate; 19 class ShellDownloadManagerDelegate;
20 20
21 class ShellBrowserContext : public BrowserContext { 21 class ShellBrowserContext : public BrowserContext {
22 public: 22 public:
(...skipping 24 matching lines...) Expand all
47 GetSpeechRecognitionPreferences() OVERRIDE; 47 GetSpeechRecognitionPreferences() OVERRIDE;
48 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 48 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
49 49
50 private: 50 private:
51 // Performs initialization of the ShellBrowserContext while IO is still 51 // Performs initialization of the ShellBrowserContext while IO is still
52 // allowed on the current thread. 52 // allowed on the current thread.
53 void InitWhileIOAllowed(); 53 void InitWhileIOAllowed();
54 54
55 bool off_the_record_; 55 bool off_the_record_;
56 bool ignore_certificate_errors_; 56 bool ignore_certificate_errors_;
57 ScopedTempDir testing_path_; 57 base::ScopedTempDir testing_path_;
58 FilePath path_; 58 FilePath path_;
59 scoped_ptr<ResourceContext> resource_context_; 59 scoped_ptr<ResourceContext> resource_context_;
60 scoped_refptr<ShellDownloadManagerDelegate> download_manager_delegate_; 60 scoped_refptr<ShellDownloadManagerDelegate> download_manager_delegate_;
61 scoped_refptr<net::URLRequestContextGetter> url_request_getter_; 61 scoped_refptr<net::URLRequestContextGetter> url_request_getter_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); 63 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext);
64 }; 64 };
65 65
66 } // namespace content 66 } // namespace content
67 67
68 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ 68 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/public/test/test_launcher.cc ('k') | content/test/layout_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698