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

Side by Side Diff: mojo/loader/url_request_context_getter.h

Issue 27536014: Teach mojo_shell how to load data URLs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « mojo/loader/loader.cc ('k') | mojo/loader/url_request_context_getter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_URL_REQUEST_CONTEXT_GETTER_H_
6 #define MOJO_URL_REQUEST_CONTEXT_GETTER_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "net/url_request/url_request_context_getter.h"
10 #include "net/url_request/url_request_context_storage.h"
11
12 namespace mojo {
13 namespace loader {
14
15 class URLRequestContextGetter : public net::URLRequestContextGetter {
16 public:
17 URLRequestContextGetter();
18 ~URLRequestContextGetter();
19
20 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
21 virtual scoped_refptr<base::SingleThreadTaskRunner>
22 GetNetworkTaskRunner() const OVERRIDE;
23
24 private:
25 scoped_ptr<net::NetLog> net_log_;
26 scoped_ptr<net::URLRequestContextStorage> storage_;
27 scoped_ptr<net::URLRequestContext> url_request_context_;
28
29 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter);
30 };
31
32 } // namespace loader
33 } // namespace mojo
34
35 #endif // MOJO_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « mojo/loader/loader.cc ('k') | mojo/loader/url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698