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

Unified Diff: mojo/loader/url_request_context_getter.h

Issue 47433002: Cleanup mojo_shell and sample_app a bit (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/loader/loader.cc ('k') | mojo/loader/url_request_context_getter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/loader/url_request_context_getter.h
diff --git a/mojo/loader/url_request_context_getter.h b/mojo/loader/url_request_context_getter.h
deleted file mode 100644
index 6051c683711d514aad904812e99919f3cb7cb1d8..0000000000000000000000000000000000000000
--- a/mojo/loader/url_request_context_getter.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_URL_REQUEST_CONTEXT_GETTER_H_
-#define MOJO_URL_REQUEST_CONTEXT_GETTER_H_
-
-#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_loop_proxy.h"
-#include "net/url_request/url_request_context_getter.h"
-#include "net/url_request/url_request_context_storage.h"
-
-namespace mojo {
-namespace loader {
-
-class URLRequestContextGetter : public net::URLRequestContextGetter {
- public:
- URLRequestContextGetter(
- base::FilePath base_path,
- base::SingleThreadTaskRunner* network_task_runner,
- base::MessageLoopProxy* cache_task_runner);
-
- virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
- virtual scoped_refptr<base::SingleThreadTaskRunner>
- GetNetworkTaskRunner() const OVERRIDE;
-
- protected:
- virtual ~URLRequestContextGetter();
-
- private:
- base::FilePath base_path_;
- scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
- scoped_refptr<base::MessageLoopProxy> cache_task_runner_;
- scoped_ptr<net::NetLog> net_log_;
- scoped_ptr<net::URLRequestContextStorage> storage_;
- scoped_ptr<net::URLRequestContext> url_request_context_;
-
- DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter);
-};
-
-} // namespace loader
-} // namespace mojo
-
-#endif // MOJO_URL_REQUEST_CONTEXT_GETTER_H_
« 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