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

Side by Side Diff: extensions/common/manifest_constants.cc

Issue 1351223003: Allow extensions to specify that they are not allowed in incognito mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add expectations for IncognitoInfo to test Created 5 years, 3 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
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 "extensions/common/manifest_constants.h" 5 #include "extensions/common/manifest_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 namespace manifest_keys { 9 namespace manifest_keys {
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 const char kFileSystemProviderCapabilities[] = 188 const char kFileSystemProviderCapabilities[] =
189 "file_system_provider_capabilities"; 189 "file_system_provider_capabilities";
190 #endif 190 #endif
191 191
192 } // namespace manifest_keys 192 } // namespace manifest_keys
193 193
194 namespace manifest_values { 194 namespace manifest_values {
195 195
196 const char kApiKey[] = "api_key"; 196 const char kApiKey[] = "api_key";
197 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 197 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
198 const char kIncognitoNotAllowed[] = "not_allowed";
198 const char kIncognitoSplit[] = "split"; 199 const char kIncognitoSplit[] = "split";
199 const char kIncognitoSpanning[] = "spanning"; 200 const char kIncognitoSpanning[] = "spanning";
200 const char kIsolatedStorage[] = "storage"; 201 const char kIsolatedStorage[] = "storage";
201 const char kKeybindingPlatformChromeOs[] = "chromeos"; 202 const char kKeybindingPlatformChromeOs[] = "chromeos";
202 const char kKeybindingPlatformDefault[] = "default"; 203 const char kKeybindingPlatformDefault[] = "default";
203 const char kKeybindingPlatformLinux[] = "linux"; 204 const char kKeybindingPlatformLinux[] = "linux";
204 const char kKeybindingPlatformMac[] = "mac"; 205 const char kKeybindingPlatformMac[] = "mac";
205 const char kKeybindingPlatformWin[] = "windows"; 206 const char kKeybindingPlatformWin[] = "windows";
206 const char kKeyAlt[] = "Alt"; 207 const char kKeyAlt[] = "Alt";
207 const char kKeyComma[] = "Comma"; 208 const char kKeyComma[] = "Comma";
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 "'file_system_provider_capabilities' section to be specified in the " 722 "'file_system_provider_capabilities' section to be specified in the "
722 "manifest."; 723 "manifest.";
723 const char kInvalidFileSystemProviderMissingPermission[] = 724 const char kInvalidFileSystemProviderMissingPermission[] =
724 "The 'file_system_provider_capabilities' section requires the " 725 "The 'file_system_provider_capabilities' section requires the "
725 "'fileSystemProvider' permission to be specified in the manifest."; 726 "'fileSystemProvider' permission to be specified in the manifest.";
726 #endif 727 #endif
727 728
728 } // namespace manifest_errors 729 } // namespace manifest_errors
729 730
730 } // namespace extensions 731 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | extensions/common/manifest_handlers/incognito_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698