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

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

Issue 266353006: Add generateAppForLink function in chrome.management (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
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 "chrome/browser/extensions/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
(...skipping 19 matching lines...) Expand all
30 const char kNoBrowserToCreateShortcut[] = 30 const char kNoBrowserToCreateShortcut[] =
31 "There is no browser window to create shortcut."; 31 "There is no browser window to create shortcut.";
32 const char kCreateOnlyPackagedAppShortcutMac[] = 32 const char kCreateOnlyPackagedAppShortcutMac[] =
33 "Shortcuts can only be created for new-style packaged apps on Mac."; 33 "Shortcuts can only be created for new-style packaged apps on Mac.";
34 const char kCreateShortcutCanceledError[] = 34 const char kCreateShortcutCanceledError[] =
35 "App shortcuts creation canceled by user."; 35 "App shortcuts creation canceled by user.";
36 const char kGestureNeededForSetLaunchTypeError[] = 36 const char kGestureNeededForSetLaunchTypeError[] =
37 "chrome.management.setLaunchType requires a user gesture."; 37 "chrome.management.setLaunchType requires a user gesture.";
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[] =
41 "chrome.management.generateAppForLink requires a user gesture.";
42 const char kInvalidURLError[] = "The URL \"*\" is invalid.";
43 const char kEmptyTitleError[] = "The title can not be empty.";
44 const char kGenerateAppForLinkInstallError[] =
45 "Failed to install the generated app.";
40 46
41 } // namespace extension_management_api_constants 47 } // namespace extension_management_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698