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

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

Issue 1321713004: Flag for Material Design policy construction page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Readded destructor. 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
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 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1644 kOsAll, 1644 kOsAll,
1645 MULTI_VALUE_TYPE(kAutofillSyncCredentialChoices)}, 1645 MULTI_VALUE_TYPE(kAutofillSyncCredentialChoices)},
1646 #if !defined(OS_ANDROID) 1646 #if !defined(OS_ANDROID)
1647 {"enable-message-center-always-scroll-up-upon-notification-removal", 1647 {"enable-message-center-always-scroll-up-upon-notification-removal",
1648 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_NAME, 1648 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_NAME,
1649 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_DESCRIPTION, 1649 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_DESCRIPTION,
1650 kOsDesktop, 1650 kOsDesktop,
1651 SINGLE_VALUE_TYPE( 1651 SINGLE_VALUE_TYPE(
1652 switches::kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval)}, 1652 switches::kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval)},
1653 #endif 1653 #endif
1654 {"enable-md-policy-page",
1655 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_POLICY_PAGE_NAME,
1656 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_POLICY_PAGE_DESCRIPTION,
1657 kOsDesktop,
1658 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignPolicyPage)},
1654 #if defined(OS_CHROMEOS) 1659 #if defined(OS_CHROMEOS)
1655 {"memory-pressure-thresholds", 1660 {"memory-pressure-thresholds",
1656 IDS_FLAGS_MEMORY_PRESSURE_THRESHOLD_NAME, 1661 IDS_FLAGS_MEMORY_PRESSURE_THRESHOLD_NAME,
1657 IDS_FLAGS_MEMORY_PRESSURE_THRESHOLD_DESCRIPTION, 1662 IDS_FLAGS_MEMORY_PRESSURE_THRESHOLD_DESCRIPTION,
1658 kOsCrOS, 1663 kOsCrOS,
1659 MULTI_VALUE_TYPE(kMemoryPressureThresholdChoices)}, 1664 MULTI_VALUE_TYPE(kMemoryPressureThresholdChoices)},
1660 {"wake-on-packets", 1665 {"wake-on-packets",
1661 IDS_FLAGS_WAKE_ON_PACKETS_NAME, 1666 IDS_FLAGS_WAKE_ON_PACKETS_NAME,
1662 IDS_FLAGS_WAKE_ON_PACKETS_DESCRIPTION, 1667 IDS_FLAGS_WAKE_ON_PACKETS_DESCRIPTION,
1663 kOsCrOSOwnerOnly, 1668 kOsCrOSOwnerOnly,
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 } 2713 }
2709 2714
2710 const Experiment* GetExperiments(size_t* count) { 2715 const Experiment* GetExperiments(size_t* count) {
2711 *count = num_experiments; 2716 *count = num_experiments;
2712 return experiments; 2717 return experiments;
2713 } 2718 }
2714 2719
2715 } // namespace testing 2720 } // namespace testing
2716 2721
2717 } // namespace about_flags 2722 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698