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

Side by Side Diff: content/shell/browser/layout_test/layout_test_url_request_context_getter.h

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Patch Set: Sync'd to revision p349162. Created 5 years, 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER _H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER _H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER _H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER _H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 25 matching lines...) Expand all
36 base::MessageLoop* io_loop, 36 base::MessageLoop* io_loop,
37 base::MessageLoop* file_loop, 37 base::MessageLoop* file_loop,
38 ProtocolHandlerMap* protocol_handlers, 38 ProtocolHandlerMap* protocol_handlers,
39 URLRequestInterceptorScopedVector request_interceptors, 39 URLRequestInterceptorScopedVector request_interceptors,
40 net::NetLog* net_log); 40 net::NetLog* net_log);
41 41
42 protected: 42 protected:
43 ~LayoutTestURLRequestContextGetter() override; 43 ~LayoutTestURLRequestContextGetter() override;
44 44
45 // ShellURLRequestContextGetter implementation. 45 // ShellURLRequestContextGetter implementation.
46 net::NetworkDelegate* CreateNetworkDelegate() override; 46 scoped_ptr<net::NetworkDelegate> CreateNetworkDelegate() override;
47 net::ProxyConfigService* GetProxyConfigService() override; 47 scoped_ptr<net::ProxyConfigService> GetProxyConfigService() override;
48 net::ProxyService* GetProxyService() override; 48 scoped_ptr<net::ProxyService> GetProxyService() override;
49 49
50 private: 50 private:
51 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter); 51 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter);
52 }; 52 };
53 53
54 } // namespace content 54 } // namespace content
55 55
56 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET TER_H_ 56 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET TER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698