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

Side by Side Diff: extensions/browser/api/management/management_api_constants.cc

Issue 696543002: Move the chrome.management API to extensions. (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/extensions/api/management/management_api_constants.h" 5 #include "extensions/browser/api/management/management_api_constants.h"
6 6
7 namespace extension_management_api_constants { 7 namespace extension_management_api_constants {
8 8
9 const char kDisabledReasonKey[] = "disabledReason"; 9 const char kDisabledReasonKey[] = "disabledReason";
10 10
11 const char kDisabledReasonPermissionsIncrease[] = "permissions_increase"; 11 const char kDisabledReasonPermissionsIncrease[] = "permissions_increase";
12 12
13 const char kExtensionCreateError[] = 13 const char kExtensionCreateError[] =
14 "Failed to create extension from manifest."; 14 "Failed to create extension from manifest.";
15 const char kGestureNeededForEscalationError[] = 15 const char kGestureNeededForEscalationError[] =
(...skipping 22 matching lines...) Expand all
38 const char kLaunchTypeNotAvailableError[] = 38 const char kLaunchTypeNotAvailableError[] =
39 "The launch type is not available for this app."; 39 "The launch type is not available for this app.";
40 const char kGestureNeededForGenerateAppForLinkError[] = 40 const char kGestureNeededForGenerateAppForLinkError[] =
41 "chrome.management.generateAppForLink requires a user gesture."; 41 "chrome.management.generateAppForLink requires a user gesture.";
42 const char kInvalidURLError[] = "The URL \"*\" is invalid."; 42 const char kInvalidURLError[] = "The URL \"*\" is invalid.";
43 const char kEmptyTitleError[] = "The title can not be empty."; 43 const char kEmptyTitleError[] = "The title can not be empty.";
44 const char kGenerateAppForLinkInstallError[] = 44 const char kGenerateAppForLinkInstallError[] =
45 "Failed to install the generated app."; 45 "Failed to install the generated app.";
46 46
47 } // namespace extension_management_api_constants 47 } // namespace extension_management_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698