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

Side by Side Diff: chrome/browser/policy/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
« no previous file with comments | « chrome/browser/policy/enterprise_metrics.cc ('k') | chrome/browser/policy/message_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_POLICY_MESSAGE_UTIL_H_
6 #define CHROME_BROWSER_POLICY_MESSAGE_UTIL_H_
7
8 #include "base/string16.h"
9 #include "chrome/browser/policy/cloud_policy_constants.h"
10 #include "chrome/browser/policy/cloud_policy_store.h"
11 #include "chrome/browser/policy/cloud_policy_validator.h"
12
13 namespace policy {
14
15 // Returns a string describing |status| suitable for display in UI.
16 string16 FormatDeviceManagementStatus(DeviceManagementStatus status);
17
18 // Returns a string describing |validation_status| suitable for display in UI.
19 string16 FormatValidationStatus(
20 CloudPolicyValidatorBase::Status validation_status);
21
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
24 // consulted to create a description of the validation failure.
25 string16 FormatStoreStatus(CloudPolicyStore::Status store_status,
26 CloudPolicyValidatorBase::Status validation_status);
27
28 } // namespace policy
29
30 #endif // CHROME_BROWSER_POLICY_MESSAGE_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/enterprise_metrics.cc ('k') | chrome/browser/policy/message_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698