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

Side by Side Diff: chrome/browser/chromeos/policy/policy_util.h

Issue 742513006: Add ManagementMode enum and GetManagementMode(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
(Empty)
1 // Copyright 2014 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_CHROMEOS_POLICY_POLICY_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_POLICY_UTIL_H_
7
8 #include "policy/proto/device_management_backend.pb.h"
9
10 namespace policy {
11
12 // If |management_mode| is set in |policy_data|, it simply returns it. For
13 // legacy policy data which don't have |management_mode|, it checks if
14 // |request_token| is set and returns a mode for backward-compatiblity.
15 enterprise_management::PolicyData::ManagementMode
16 GetManagementMode(const enterprise_management::PolicyData& policy_data);
Mattias Nissler (ping if slow) 2014/11/27 08:37:31 Two suggestions: 1. I think moving this over to cl
davidyu 2014/11/27 10:04:08 Ok. I added a new enum. I also refactored Enrollme
17
18 } // namespace policy
19
20 #endif // CHROME_BROWSER_CHROMEOS_POLICY_POLICY_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/device_local_account_policy_service.cc ('k') | chrome/browser/chromeos/policy/policy_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698