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/chromeos/extensions/device_local_account_management_policy_provider.cc

Issue 341043005: Wire up component cloud policy to device local accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 6 years, 6 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 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 #include "chrome/browser/chromeos/extensions/device_local_account_management_pol icy_provider.h" 5 #include "chrome/browser/chromeos/extensions/device_local_account_management_pol icy_provider.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 "adlphlfdhhjenpgimjochcpelbijkich", // New York Times demo 58 "adlphlfdhhjenpgimjochcpelbijkich", // New York Times demo
59 "cgefhjmlaifaamhhoojmpcnihlbddeki", // Pandora demo 59 "cgefhjmlaifaamhhoojmpcnihlbddeki", // Pandora demo
60 "kpjjigggmcjinapdeipapdcnmnjealll", // Pixlr demo 60 "kpjjigggmcjinapdeipapdcnmnjealll", // Pixlr demo
61 "aleodiobpjillgfjdkblghiiaegggmcm", // Quickoffice demo 61 "aleodiobpjillgfjdkblghiiaegggmcm", // Quickoffice demo
62 "nifkmgcdokhkjghdlgflonppnefddien", // Sheets demo 62 "nifkmgcdokhkjghdlgflonppnefddien", // Sheets demo
63 "hdmobeajeoanbanmdlabnbnlopepchip", // Slides demo 63 "hdmobeajeoanbanmdlabnbnlopepchip", // Slides demo
64 "dgohlccohkojjgkkfholmobjjoledflp", // Spotify demo 64 "dgohlccohkojjgkkfholmobjjoledflp", // Spotify demo
65 "dhmdaeekeihmajjnmichlhiffffdbpde", // Store.app demo 65 "dhmdaeekeihmajjnmichlhiffffdbpde", // Store.app demo
66 "jeabmjjifhfcejonjjhccaeigpnnjaak", // TweetDeck demo 66 "jeabmjjifhfcejonjjhccaeigpnnjaak", // TweetDeck demo
67 "pbdihpaifchmclcmkfdgffnnpfbobefh", // YouTube demo 67 "pbdihpaifchmclcmkfdgffnnpfbobefh", // YouTube demo
68
69 // Testing extensions:
70 "ongnjlefhnoajpbodoldndkbkdgfomlp", // Show Managed Storage
bartfab (slow) 2014/06/20 09:17:24 You skipped process here :). We always ask Will or
Joao da Silva 2014/06/20 11:48:45 Thanks, I've notified Will and Sumit. As discussed
68 }; 71 };
69 72
70 } // namespace 73 } // namespace
71 74
72 DeviceLocalAccountManagementPolicyProvider:: 75 DeviceLocalAccountManagementPolicyProvider::
73 DeviceLocalAccountManagementPolicyProvider( 76 DeviceLocalAccountManagementPolicyProvider(
74 policy::DeviceLocalAccount::Type account_type) 77 policy::DeviceLocalAccount::Type account_type)
75 : account_type_(account_type) { 78 : account_type_(account_type) {
76 } 79 }
77 80
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 if (error) { 122 if (error) {
120 *error = l10n_util::GetStringFUTF16( 123 *error = l10n_util::GetStringFUTF16(
121 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, 124 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT,
122 base::UTF8ToUTF16(extension->name()), 125 base::UTF8ToUTF16(extension->name()),
123 base::UTF8ToUTF16(extension->id())); 126 base::UTF8ToUTF16(extension->id()));
124 } 127 }
125 return false; 128 return false;
126 } 129 }
127 130
128 } // namespace chromeos 131 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698