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

Side by Side Diff: chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc

Issue 932163002: Whitelist ARC Runtime for use in public sessions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "chrome/grit/generated_resources.h" 11 #include "chrome/grit/generated_resources.h"
12 #include "extensions/common/extension.h" 12 #include "extensions/common/extension.h"
13 #include "extensions/common/manifest.h" 13 #include "extensions/common/manifest.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 namespace { 18 namespace {
19 19
20 // Apps/extensions explicitly whitelisted for use in public sessions. 20 // Apps/extensions explicitly whitelisted for use in public sessions.
21 const char* const kPublicSessionWhitelist[] = { 21 const char* const kPublicSessionWhitelist[] = {
22 // Public sessions in general: 22 // Public sessions in general:
23 "cbkkbcmdlboombapidmoeolnmdacpkch", // Chrome RDP 23 "cbkkbcmdlboombapidmoeolnmdacpkch", // Chrome RDP
24 "djflhoibgkdhkhhcedjiklpkjnoahfmg", // User Agent Switcher 24 "djflhoibgkdhkhhcedjiklpkjnoahfmg", // User Agent Switcher
25 "iabmpiboiopbgfabjmgeedhcmjenhbla", // VNC Viewer 25 "iabmpiboiopbgfabjmgeedhcmjenhbla", // VNC Viewer
26 "haiffjcadagjlijoggckpgfnoeiflnem", // Citrix Receiver 26 "haiffjcadagjlijoggckpgfnoeiflnem", // Citrix Receiver
27 "mfaihdlpglflfgpfjcifdjdjcckigekc", // ARC Runtime
27 28
28 // Libraries: 29 // Libraries:
29 "aclofikceldphonlfmghmimkodjdmhck", // Ancoris login component 30 "aclofikceldphonlfmghmimkodjdmhck", // Ancoris login component
30 "eilbnahdgoddoedakcmfkcgfoegeloil", // Ancoris proxy component 31 "eilbnahdgoddoedakcmfkcgfoegeloil", // Ancoris proxy component
31 "ceehlgckkmkaoggdnjhibffkphfnphmg", // Libdata login 32 "ceehlgckkmkaoggdnjhibffkphfnphmg", // Libdata login
32 33
33 // Retail mode: 34 // Retail mode:
34 "ehcabepphndocfmgbdkbjibfodelmpbb", // Angry Birds demo 35 "ehcabepphndocfmgbdkbjibfodelmpbb", // Angry Birds demo
35 "kgimkbnclbekdkabkpjhpakhhalfanda", // Bejeweled demo 36 "kgimkbnclbekdkabkpjhpakhhalfanda", // Bejeweled demo
36 "joodangkbfjnajiiifokapkpmhfnpleo", // Calculator 37 "joodangkbfjnajiiifokapkpmhfnpleo", // Calculator
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 if (error) { 129 if (error) {
129 *error = l10n_util::GetStringFUTF16( 130 *error = l10n_util::GetStringFUTF16(
130 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, 131 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT,
131 base::UTF8ToUTF16(extension->name()), 132 base::UTF8ToUTF16(extension->name()),
132 base::UTF8ToUTF16(extension->id())); 133 base::UTF8ToUTF16(extension->id()));
133 } 134 }
134 return false; 135 return false;
135 } 136 }
136 137
137 } // namespace chromeos 138 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698