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

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

Issue 2840823002: Whitelisted tabs permission (Closed)
Patch Set: Created 3 years, 8 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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <string> 10 #include <string>
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 // Enumerates network interfaces. 630 // Enumerates network interfaces.
631 "system.network", 631 "system.network",
632 632
633 // Enumerates removable storage. 633 // Enumerates removable storage.
634 "system.storage", 634 "system.storage",
635 635
636 // User is prompted (allow/deny) when an extension requests tabCapture. The 636 // User is prompted (allow/deny) when an extension requests tabCapture. The
637 // request is made via chrome.tabCapture.capture call. 637 // request is made via chrome.tabCapture.capture call.
638 "tabCapture", 638 "tabCapture",
639 639
640 // Privacy sensitive URL access. 640 // The URL returned by chrome.tabs API is scrubbed down to the origin.
641 // "tabs", 641 "tabs",
642 642
643 // Privacy sensitive URL access. 643 // Privacy sensitive URL access.
644 // "topSites", 644 // "topSites",
645 645
646 // Allows to generate TTS, but no content access. Just UX. 646 // Allows to generate TTS, but no content access. Just UX.
647 "tts", 647 "tts",
648 648
649 // Might need this, but has content access. Manual whitelisting? 649 // Might need this, but has content access. Manual whitelisting?
650 // "ttsEngine", 650 // "ttsEngine",
651 651
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 if (error) { 946 if (error) {
947 *error = l10n_util::GetStringFUTF16( 947 *error = l10n_util::GetStringFUTF16(
948 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, 948 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT,
949 base::UTF8ToUTF16(extension->name()), 949 base::UTF8ToUTF16(extension->name()),
950 base::UTF8ToUTF16(extension->id())); 950 base::UTF8ToUTF16(extension->id()));
951 } 951 }
952 return false; 952 return false;
953 } 953 }
954 954
955 } // namespace chromeos 955 } // 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