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

Unified Diff: mojo/shell/url_request_context_getter.h

Issue 323593002: Mojo: Use network service to load non-local Mojo Apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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/shell/task_runners.cc ('k') | mojo/shell/url_request_context_getter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/url_request_context_getter.h
diff --git a/mojo/shell/url_request_context_getter.h b/mojo/shell/url_request_context_getter.h
deleted file mode 100644
index 7ffec047706ede6ccf4bf25458ff8a56a352fe34..0000000000000000000000000000000000000000
--- a/mojo/shell/url_request_context_getter.h
+++ /dev/null
@@ -1,52 +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_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
-#define MOJO_SHELL_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/base/network_delegate.h"
-#include "net/http/transport_security_persister.h"
-#include "net/url_request/url_request_context_getter.h"
-#include "net/url_request/url_request_context_storage.h"
-
-namespace mojo {
-namespace shell {
-
-class URLRequestContextGetter : public net::URLRequestContextGetter {
- public:
- URLRequestContextGetter(
- base::FilePath base_path,
- base::SingleThreadTaskRunner* network_task_runner,
- base::SingleThreadTaskRunner* file_task_runner,
- base::MessageLoopProxy* cache_task_runner,
- scoped_ptr<net::NetworkDelegate> network_delegate);
-
- 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> file_task_runner_;
- scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
- scoped_refptr<base::MessageLoopProxy> cache_task_runner_;
- scoped_ptr<net::NetworkDelegate> network_delegate_;
- scoped_ptr<net::NetLog> net_log_;
- scoped_ptr<net::URLRequestContextStorage> storage_;
- scoped_ptr<net::URLRequestContext> url_request_context_;
- scoped_ptr<net::TransportSecurityPersister> transport_security_persister_;
-
- DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter);
-};
-
-} // namespace shell
-} // namespace mojo
-
-#endif // MOJO_SHELL_URL_REQUEST_CONTEXT_GETTER_H_
« no previous file with comments | « mojo/shell/task_runners.cc ('k') | mojo/shell/url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698