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

Unified Diff: chrome/browser/policy/cloud/user_policy_request_context.h

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years 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
Index: chrome/browser/policy/cloud/user_policy_request_context.h
diff --git a/chrome/browser/policy/cloud/user_policy_request_context.h b/chrome/browser/policy/cloud/user_policy_request_context.h
deleted file mode 100644
index 2643fd69704674956b5d27360d2df2cdfd1a9c6e..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/cloud/user_policy_request_context.h
+++ /dev/null
@@ -1,50 +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.
-
-#include "base/memory/scoped_ptr.h"
-#include "net/url_request/static_http_user_agent_settings.h"
-#include "net/url_request/url_request_context_getter.h"
-
-#ifndef CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_REQUEST_CONTEXT_H_
-#define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_REQUEST_CONTEXT_H_
-
-namespace net {
-class HttpNetworkLayer;
-}
-
-namespace policy {
-
-class UserPolicyRequestContext
- : public net::URLRequestContextGetter {
- public:
- UserPolicyRequestContext(
- scoped_refptr<net::URLRequestContextGetter> user_context_getter,
- scoped_refptr<net::URLRequestContextGetter> system_context_getter,
- const std::string& user_agent);
-
- // Overridden from net::URLRequestContextGetter:
- virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
- virtual scoped_refptr<base::SingleThreadTaskRunner>
- GetNetworkTaskRunner() const OVERRIDE;
-
- protected:
- virtual ~UserPolicyRequestContext();
-
- private:
- scoped_refptr<net::URLRequestContextGetter> user_context_getter_;
- scoped_refptr<net::URLRequestContextGetter> system_context_getter_;
-
- // The lazy-initialized URLRequestContext associated with this getter.
- scoped_ptr<net::URLRequestContext> context_;
-
- // HttpNetworkLayer associated with |context_|.
- scoped_ptr<net::HttpNetworkLayer> http_transaction_factory_;
-
- net::StaticHttpUserAgentSettings http_user_agent_settings_;
- DISALLOW_COPY_AND_ASSIGN(UserPolicyRequestContext);
-};
-
-} // namespace policy
-
-#endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_REQUEST_CONTEXT_H_
« no previous file with comments | « chrome/browser/policy/cloud/user_info_fetcher_unittest.cc ('k') | chrome/browser/policy/cloud/user_policy_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698