diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-02 19:03:55 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-02 19:03:55 +0000 |
commit | 217fb93c6fd3c94a32f659059d7b6a571343dab0 (patch) | |
tree | 446738dbc116b2d15f5159581818361c41337365 /chrome/browser/policy/device_management_backend.h | |
parent | 7144bbd6ae932dc8bf475150ac6e5aeb9475e9ed (diff) | |
download | chromium_src-217fb93c6fd3c94a32f659059d7b6a571343dab0.zip chromium_src-217fb93c6fd3c94a32f659059d7b6a571343dab0.tar.gz chromium_src-217fb93c6fd3c94a32f659059d7b6a571343dab0.tar.bz2 |
Don't alias namespace enterprise_management to namespace em in headers.
Mechanical changes only.
BUG=None
TEST=Compiles and passes tests.
Review URL: http://codereview.chromium.org/9068002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/policy/device_management_backend.h')
-rw-r--r-- | chrome/browser/policy/device_management_backend.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/chrome/browser/policy/device_management_backend.h b/chrome/browser/policy/device_management_backend.h index 81c93c5..58000a1 100644 --- a/chrome/browser/policy/device_management_backend.h +++ b/chrome/browser/policy/device_management_backend.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -14,8 +14,6 @@ namespace policy { -namespace em = enterprise_management; - // Interface for clients that need to converse with the device management // server, which provides services to register Chrome installations and CrOS // devices for the purpose of fetching centrally-administered policy from the @@ -60,7 +58,7 @@ class DeviceManagementBackend : base::NonThreadSafe { public: virtual ~DeviceRegisterResponseDelegate() {} virtual void HandleRegisterResponse( - const em::DeviceRegisterResponse& response) = 0; + const enterprise_management::DeviceRegisterResponse& response) = 0; virtual void OnError(ErrorCode code) = 0; protected: @@ -74,7 +72,7 @@ class DeviceManagementBackend : base::NonThreadSafe { public: virtual ~DeviceUnregisterResponseDelegate() {} virtual void HandleUnregisterResponse( - const em::DeviceUnregisterResponse& response) = 0; + const enterprise_management::DeviceUnregisterResponse& response) = 0; virtual void OnError(ErrorCode code) = 0; protected: @@ -89,7 +87,7 @@ class DeviceManagementBackend : base::NonThreadSafe { virtual ~DevicePolicyResponseDelegate() {} virtual void HandlePolicyResponse( - const em::DevicePolicyResponse& response) = 0; + const enterprise_management::DevicePolicyResponse& response) = 0; virtual void OnError(ErrorCode code) = 0; protected: @@ -104,7 +102,8 @@ class DeviceManagementBackend : base::NonThreadSafe { virtual ~DeviceAutoEnrollmentResponseDelegate() {} virtual void HandleAutoEnrollmentResponse( - const em::DeviceAutoEnrollmentResponse& response) = 0; + const enterprise_management::DeviceAutoEnrollmentResponse& + response) = 0; virtual void OnError(ErrorCode code) = 0; protected: @@ -120,26 +119,26 @@ class DeviceManagementBackend : base::NonThreadSafe { const std::string& gaia_auth_token, const std::string& oauth_token, const std::string& device_id, - const em::DeviceRegisterRequest& request, + const enterprise_management::DeviceRegisterRequest& request, DeviceRegisterResponseDelegate* delegate) = 0; virtual void ProcessUnregisterRequest( const std::string& device_management_token, const std::string& device_id, - const em::DeviceUnregisterRequest& request, + const enterprise_management::DeviceUnregisterRequest& request, DeviceUnregisterResponseDelegate* delegate) = 0; virtual void ProcessPolicyRequest( const std::string& device_management_token, const std::string& device_id, CloudPolicyDataStore::UserAffiliation user_affiliation, - const em::DevicePolicyRequest& request, - const em::DeviceStatusReportRequest* device_status, + const enterprise_management::DevicePolicyRequest& request, + const enterprise_management::DeviceStatusReportRequest* device_status, DevicePolicyResponseDelegate* delegate) = 0; virtual void ProcessAutoEnrollmentRequest( const std::string& device_id, - const em::DeviceAutoEnrollmentRequest& request, + const enterprise_management::DeviceAutoEnrollmentRequest& request, DeviceAutoEnrollmentResponseDelegate* delegate) = 0; protected: |