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

Side by Side Diff: chrome/browser/policy/cloud/message_util.h

Issue 12189011: Split up chrome/browser/policy subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, add chrome/browser/chromeos/policy/OWNERS Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_POLICY_MESSAGE_UTIL_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_MESSAGE_UTIL_H_
6 #define CHROME_BROWSER_POLICY_MESSAGE_UTIL_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_MESSAGE_UTIL_H_
7 7
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "chrome/browser/policy/cloud_policy_constants.h" 9 #include "chrome/browser/policy/cloud/cloud_policy_constants.h"
10 #include "chrome/browser/policy/cloud_policy_store.h" 10 #include "chrome/browser/policy/cloud/cloud_policy_store.h"
11 #include "chrome/browser/policy/cloud_policy_validator.h" 11 #include "chrome/browser/policy/cloud/cloud_policy_validator.h"
12 12
13 namespace policy { 13 namespace policy {
14 14
15 // Returns a string describing |status| suitable for display in UI. 15 // Returns a string describing |status| suitable for display in UI.
16 string16 FormatDeviceManagementStatus(DeviceManagementStatus status); 16 string16 FormatDeviceManagementStatus(DeviceManagementStatus status);
17 17
18 // Returns a string describing |validation_status| suitable for display in UI. 18 // Returns a string describing |validation_status| suitable for display in UI.
19 string16 FormatValidationStatus( 19 string16 FormatValidationStatus(
20 CloudPolicyValidatorBase::Status validation_status); 20 CloudPolicyValidatorBase::Status validation_status);
21 21
22 // Returns a textual description of |store_status| for display in the UI. If 22 // Returns a textual description of |store_status| for display in the UI. If
23 // |store_status| is STATUS_VALIDATION_FAILED, |validation_status| will be 23 // |store_status| is STATUS_VALIDATION_FAILED, |validation_status| will be
24 // consulted to create a description of the validation failure. 24 // consulted to create a description of the validation failure.
25 string16 FormatStoreStatus(CloudPolicyStore::Status store_status, 25 string16 FormatStoreStatus(CloudPolicyStore::Status store_status,
26 CloudPolicyValidatorBase::Status validation_status); 26 CloudPolicyValidatorBase::Status validation_status);
27 27
28 } // namespace policy 28 } // namespace policy
29 29
30 #endif // CHROME_BROWSER_POLICY_MESSAGE_UTIL_H_ 30 #endif // CHROME_BROWSER_POLICY_CLOUD_MESSAGE_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud/enterprise_metrics.cc ('k') | chrome/browser/policy/cloud/message_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698