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

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

Issue 667833004: Fix extension command service to check if user has modified key before overwrite on update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 const char kRunAtDocumentStart[] = "document_start"; 220 const char kRunAtDocumentStart[] = "document_start";
221 const char kRunAtDocumentEnd[] = "document_end"; 221 const char kRunAtDocumentEnd[] = "document_end";
222 const char kRunAtDocumentIdle[] = "document_idle"; 222 const char kRunAtDocumentIdle[] = "document_idle";
223 const char kPageActionCommandEvent[] = "_execute_page_action"; 223 const char kPageActionCommandEvent[] = "_execute_page_action";
224 const char kPageActionTypeTab[] = "tab"; 224 const char kPageActionTypeTab[] = "tab";
225 const char kPageActionTypePermanent[] = "permanent"; 225 const char kPageActionTypePermanent[] = "permanent";
226 const char kScriptBadgeCommandEvent[] = "_execute_script_badge"; 226 const char kScriptBadgeCommandEvent[] = "_execute_script_badge";
227 const char kLaunchContainerPanel[] = "panel"; 227 const char kLaunchContainerPanel[] = "panel";
228 const char kLaunchContainerTab[] = "tab"; 228 const char kLaunchContainerTab[] = "tab";
229 const char kLaunchContainerWindow[] = "window"; 229 const char kLaunchContainerWindow[] = "window";
230 const char kMediaKeyTestCommand[] = "test_mediakeys_update";
230 231
231 } // namespace manifest_values 232 } // namespace manifest_values
232 233
233 // Extension-related error messages. Some of these are simple patterns, where a 234 // Extension-related error messages. Some of these are simple patterns, where a
234 // '*' is replaced at runtime with a specific value. This is used instead of 235 // '*' is replaced at runtime with a specific value. This is used instead of
235 // printf because we want to unit test them and scanf is hard to make 236 // printf because we want to unit test them and scanf is hard to make
236 // cross-platform. 237 // cross-platform.
237 namespace manifest_errors { 238 namespace manifest_errors {
238 239
239 const char kActiveTabPermissionNotGranted[] = 240 const char kActiveTabPermissionNotGranted[] =
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 const char kWebRequestConflictsWithLazyBackground[] = 721 const char kWebRequestConflictsWithLazyBackground[] =
721 "The 'webRequest' API cannot be used with event pages."; 722 "The 'webRequest' API cannot be used with event pages.";
722 #if defined(OS_CHROMEOS) 723 #if defined(OS_CHROMEOS)
723 const char kIllegalPlugins[] = 724 const char kIllegalPlugins[] =
724 "Extensions cannot install plugins on Chrome OS"; 725 "Extensions cannot install plugins on Chrome OS";
725 #endif 726 #endif
726 727
727 } // namespace manifest_errors 728 } // namespace manifest_errors
728 729
729 } // namespace extensions 730 } // namespace extensions
OLDNEW
« extensions/common/manifest_constants.h ('K') | « extensions/common/manifest_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698