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

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

Issue 23567023: Enable Device Discovery by default on Linux, ChromeOS and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/browser_about_handler.cc » ('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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1461 SINGLE_VALUE_TYPE(switches::kAppsUseNativeFrame) 1461 SINGLE_VALUE_TYPE(switches::kAppsUseNativeFrame)
1462 }, 1462 },
1463 { 1463 {
1464 "enable-syncfs-directory-operation", 1464 "enable-syncfs-directory-operation",
1465 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_NAME, 1465 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_NAME,
1466 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_DESCRIPTION, 1466 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_DESCRIPTION,
1467 kOsAll, 1467 kOsAll,
1468 SINGLE_VALUE_TYPE(switches::kSyncfsEnableDirectoryOperation), 1468 SINGLE_VALUE_TYPE(switches::kSyncfsEnableDirectoryOperation),
1469 }, 1469 },
1470 { 1470 {
1471 "enable-device-discovery", 1471 "disable-device-discovery",
1472 IDS_FLAGS_ENABLE_DEVICE_DISCOVERY_NAME, 1472 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NAME,
1473 IDS_FLAGS_ENABLE_DEVICE_DISCOVERY_DESCRIPTION, 1473 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_DESCRIPTION,
1474 kOsDesktop, 1474 kOsWin | kOsLinux | kOsCrOS,
1475 SINGLE_VALUE_TYPE(switches::kEnableDeviceDiscovery) 1475 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscovery)
1476 }, 1476 },
1477 #if defined(OS_MACOSX) 1477 #if defined(OS_MACOSX)
1478 { 1478 {
1479 "enable-app-list-shim", 1479 "enable-app-list-shim",
1480 IDS_FLAGS_ENABLE_APP_LIST_SHIM_NAME, 1480 IDS_FLAGS_ENABLE_APP_LIST_SHIM_NAME,
1481 IDS_FLAGS_ENABLE_APP_LIST_SHIM_DESCRIPTION, 1481 IDS_FLAGS_ENABLE_APP_LIST_SHIM_DESCRIPTION,
1482 kOsMac, 1482 kOsMac,
1483 SINGLE_VALUE_TYPE(switches::kEnableAppListShim) 1483 SINGLE_VALUE_TYPE(switches::kEnableAppListShim)
1484 }, 1484 },
1485 { 1485 {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME, 1542 IDS_FLAGS_ENABLE_HTML_IMPORTS_NAME,
1543 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION, 1543 IDS_FLAGS_ENABLE_HTML_IMPORTS_DESCRIPTION,
1544 kOsAll, 1544 kOsAll,
1545 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports) 1545 SINGLE_VALUE_TYPE(switches::kEnableHTMLImports)
1546 }, 1546 },
1547 { 1547 {
1548 "high-dpi-support", 1548 "high-dpi-support",
1549 IDS_FLAGS_HIDPI_NAME, 1549 IDS_FLAGS_HIDPI_NAME,
1550 IDS_FLAGS_HIDPI_DESCRIPTION, 1550 IDS_FLAGS_HIDPI_DESCRIPTION,
1551 kOsWin, 1551 kOsWin,
1552 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport,"1", 1552 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kHighDPISupport, "1",
1553 switches::kHighDPISupport,"0") 1553 switches::kHighDPISupport, "0")
1554 }, 1554 },
1555 #if defined(OS_CHROMEOS) 1555 #if defined(OS_CHROMEOS)
1556 { 1556 {
1557 "enable-quickoffice-viewing", 1557 "enable-quickoffice-viewing",
1558 IDS_FLAGS_ENABLE_QUICKOFFICE_DESKTOP_VIEWING_NAME, 1558 IDS_FLAGS_ENABLE_QUICKOFFICE_DESKTOP_VIEWING_NAME,
1559 IDS_FLAGS_ENABLE_QUICKOFFICE_DESKTOP_VIEWING_DESCRIPTION, 1559 IDS_FLAGS_ENABLE_QUICKOFFICE_DESKTOP_VIEWING_DESCRIPTION,
1560 kOsCrOS, 1560 kOsCrOS,
1561 SINGLE_VALUE_TYPE(switches::kEnableQuickofficeViewing), 1561 SINGLE_VALUE_TYPE(switches::kEnableQuickofficeViewing),
1562 }, 1562 },
1563 { 1563 {
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 } 2132 }
2133 2133
2134 const Experiment* GetExperiments(size_t* count) { 2134 const Experiment* GetExperiments(size_t* count) {
2135 *count = num_experiments; 2135 *count = num_experiments;
2136 return experiments; 2136 return experiments;
2137 } 2137 }
2138 2138
2139 } // namespace testing 2139 } // namespace testing
2140 2140
2141 } // namespace about_flags 2141 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698