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

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

Issue 9701023: Add ShellNetworkDelegate so content_shell can use cookies (again) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 9 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_SHELL_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef CONTENT_SHELL_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
6 #define CONTENT_SHELL_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define CONTENT_SHELL_SHELL_URL_REQUEST_CONTEXT_GETTER_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"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "net/url_request/url_request_context_getter.h" 13 #include "net/url_request/url_request_context_getter.h"
14 14
15 class MessageLoop; 15 class MessageLoop;
16 16
17 namespace net { 17 namespace net {
18 class HostResolver; 18 class HostResolver;
19 class NetworkDelegate;
19 class ProxyConfigService; 20 class ProxyConfigService;
20 class URLRequestContextStorage; 21 class URLRequestContextStorage;
21 } 22 }
22 23
23 namespace content { 24 namespace content {
24 25
25 class ShellURLRequestContextGetter : public net::URLRequestContextGetter { 26 class ShellURLRequestContextGetter : public net::URLRequestContextGetter {
26 public: 27 public:
27 ShellURLRequestContextGetter( 28 ShellURLRequestContextGetter(
28 const FilePath& base_path, 29 const FilePath& base_path,
(...skipping 10 matching lines...) Expand all
39 40
40 private: 41 private:
41 FilePath base_path_; 42 FilePath base_path_;
42 MessageLoop* io_loop_; 43 MessageLoop* io_loop_;
43 MessageLoop* file_loop_; 44 MessageLoop* file_loop_;
44 45
45 scoped_ptr<net::ProxyConfigService> proxy_config_service_; 46 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
46 47
47 scoped_refptr<net::URLRequestContext> url_request_context_; 48 scoped_refptr<net::URLRequestContext> url_request_context_;
48 scoped_ptr<net::URLRequestContextStorage> storage_; 49 scoped_ptr<net::URLRequestContextStorage> storage_;
50 scoped_ptr<net::NetworkDelegate> network_delegate_;
49 51
50 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter); 52 DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter);
51 }; 53 };
52 54
53 } // namespace content 55 } // namespace content
54 56
55 #endif // CONTENT_SHELL_SHELL_URL_REQUEST_CONTEXT_GETTER_H_ 57 #endif // CONTENT_SHELL_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « content/shell/shell_network_delegate.cc ('k') | content/shell/shell_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698