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

Unified Diff: components/policy/core/common/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: components/policy/core/common/cloud/user_policy_request_context.h
diff --git a/chrome/browser/policy/cloud/user_policy_request_context.h b/components/policy/core/common/cloud/user_policy_request_context.h
similarity index 81%
rename from chrome/browser/policy/cloud/user_policy_request_context.h
rename to components/policy/core/common/cloud/user_policy_request_context.h
index 2643fd69704674956b5d27360d2df2cdfd1a9c6e..e1e184568d97d039b70725c66795ef2eaf5d3b73 100644
--- a/chrome/browser/policy/cloud/user_policy_request_context.h
+++ b/components/policy/core/common/cloud/user_policy_request_context.h
@@ -3,11 +3,12 @@
// found in the LICENSE file.
#include "base/memory/scoped_ptr.h"
+#include "components/policy/policy_export.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_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_POLICY_REQUEST_CONTEXT_H_
+#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_POLICY_REQUEST_CONTEXT_H_
namespace net {
class HttpNetworkLayer;
@@ -15,7 +16,7 @@ class HttpNetworkLayer;
namespace policy {
-class UserPolicyRequestContext
+class POLICY_EXPORT UserPolicyRequestContext
: public net::URLRequestContextGetter {
public:
UserPolicyRequestContext(
@@ -47,4 +48,4 @@ class UserPolicyRequestContext
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_REQUEST_CONTEXT_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_POLICY_REQUEST_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698