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

Side by Side Diff: components/policy/core/common/cloud/cloud_policy_client_registration_helper.h

Issue 108563005: Move the cloud policy protobufs into the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_HEL PER_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_HEL PER_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_HEL PER_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_HEL PER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
15 #include "components/policy/core/common/cloud/cloud_policy_client.h" 14 #include "components/policy/core/common/cloud/cloud_policy_client.h"
16 #include "components/policy/core/common/cloud/user_info_fetcher.h" 15 #include "components/policy/core/common/cloud/user_info_fetcher.h"
17 #include "components/policy/policy_export.h" 16 #include "components/policy/policy_export.h"
17 #include "policy/proto/device_management_backend.pb.h"
18 18
19 class OAuth2TokenService; 19 class OAuth2TokenService;
20 20
21 namespace net { 21 namespace net {
22 class URLRequestContextGetter; 22 class URLRequestContextGetter;
23 } 23 }
24 24
25 namespace policy { 25 namespace policy {
26 26
27 // Helper class that registers a CloudPolicyClient. It fetches an OAuth2 token 27 // Helper class that registers a CloudPolicyClient. It fetches an OAuth2 token
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 bool should_force_load_policy_; 106 bool should_force_load_policy_;
107 enterprise_management::DeviceRegisterRequest::Type registration_type_; 107 enterprise_management::DeviceRegisterRequest::Type registration_type_;
108 base::Closure callback_; 108 base::Closure callback_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClientRegistrationHelper); 110 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClientRegistrationHelper);
111 }; 111 };
112 112
113 } // namespace policy 113 } // namespace policy
114 114
115 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_ HELPER_H_ 115 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_REGISTRATION_ HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698