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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 1395043002: Remove ability for users to launch ephemeral apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/apps/ephemeral_app_launcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 IDS_FLAGS_DISABLE_HOSTED_APP_SHIM_CREATION_NAME, 1449 IDS_FLAGS_DISABLE_HOSTED_APP_SHIM_CREATION_NAME,
1450 IDS_FLAGS_DISABLE_HOSTED_APP_SHIM_CREATION_DESCRIPTION, 1450 IDS_FLAGS_DISABLE_HOSTED_APP_SHIM_CREATION_DESCRIPTION,
1451 kOsMac, 1451 kOsMac,
1452 SINGLE_VALUE_TYPE(switches::kDisableHostedAppShimCreation)}, 1452 SINGLE_VALUE_TYPE(switches::kDisableHostedAppShimCreation)},
1453 {"enable-hosted-app-quit-notification", 1453 {"enable-hosted-app-quit-notification",
1454 IDS_FLAGS_ENABLE_HOSTED_APP_QUIT_NOTIFICATION_NAME, 1454 IDS_FLAGS_ENABLE_HOSTED_APP_QUIT_NOTIFICATION_NAME,
1455 IDS_FLAGS_ENABLE_HOSTED_APP_QUIT_NOTIFICATION_DESCRIPTION, 1455 IDS_FLAGS_ENABLE_HOSTED_APP_QUIT_NOTIFICATION_DESCRIPTION,
1456 kOsMac, 1456 kOsMac,
1457 SINGLE_VALUE_TYPE(switches::kHostedAppQuitNotification)}, 1457 SINGLE_VALUE_TYPE(switches::kHostedAppQuitNotification)},
1458 #endif 1458 #endif
1459 {"enable-ephemeral-apps-in-webstore",
1460 IDS_FLAGS_ENABLE_EPHEMERAL_APPS_IN_WEBSTORE_NAME,
1461 IDS_FLAGS_ENABLE_EPHEMERAL_APPS_IN_WEBSTORE_DESCRIPTION,
1462 kOsAll,
1463 SINGLE_VALUE_TYPE(switches::kEnableEphemeralAppsInWebstore)},
1464 #if defined(OS_ANDROID) 1459 #if defined(OS_ANDROID)
1465 {"disable-pull-to-refresh-effect", 1460 {"disable-pull-to-refresh-effect",
1466 IDS_FLAGS_DISABLE_PULL_TO_REFRESH_EFFECT_NAME, 1461 IDS_FLAGS_DISABLE_PULL_TO_REFRESH_EFFECT_NAME,
1467 IDS_FLAGS_DISABLE_PULL_TO_REFRESH_EFFECT_DESCRIPTION, 1462 IDS_FLAGS_DISABLE_PULL_TO_REFRESH_EFFECT_DESCRIPTION,
1468 kOsAndroid, 1463 kOsAndroid,
1469 SINGLE_VALUE_TYPE(switches::kDisablePullToRefreshEffect)}, 1464 SINGLE_VALUE_TYPE(switches::kDisablePullToRefreshEffect)},
1470 #endif 1465 #endif
1471 #if defined(OS_MACOSX) 1466 #if defined(OS_MACOSX)
1472 {"enable-translate-new-ux", 1467 {"enable-translate-new-ux",
1473 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_NAME, 1468 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_NAME,
(...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after
2760 } 2755 }
2761 2756
2762 const Experiment* GetExperiments(size_t* count) { 2757 const Experiment* GetExperiments(size_t* count) {
2763 *count = num_experiments; 2758 *count = num_experiments;
2764 return experiments; 2759 return experiments;
2765 } 2760 }
2766 2761
2767 } // namespace testing 2762 } // namespace testing
2768 2763
2769 } // namespace about_flags 2764 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/apps/ephemeral_app_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698