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

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

Issue 2070153002: Add an experimental flag for offlining. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove copy pasted desription. Created 4 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION, 1831 {"ime-thread", IDS_FLAGS_IME_THREAD_NAME, IDS_FLAGS_IME_THREAD_DESCRIPTION,
1832 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)}, 1832 kOsAndroid, FEATURE_VALUE_TYPE(features::kImeThread)},
1833 #endif // defined(OS_ANDROID) 1833 #endif // defined(OS_ANDROID)
1834 #if defined(OS_ANDROID) 1834 #if defined(OS_ANDROID)
1835 {"offline-pages-ntp", IDS_FLAGS_NTP_OFFLINE_PAGES_NAME, 1835 {"offline-pages-ntp", IDS_FLAGS_NTP_OFFLINE_PAGES_NAME,
1836 IDS_FLAGS_NTP_OFFLINE_PAGES_DESCRIPTION, kOsAndroid, 1836 IDS_FLAGS_NTP_OFFLINE_PAGES_DESCRIPTION, kOsAndroid,
1837 FEATURE_VALUE_TYPE(chrome::android::kNTPOfflinePagesFeature)}, 1837 FEATURE_VALUE_TYPE(chrome::android::kNTPOfflinePagesFeature)},
1838 {"offlining-recent-pages", IDS_FLAGS_OFFLINING_RECENT_PAGES_NAME, 1838 {"offlining-recent-pages", IDS_FLAGS_OFFLINING_RECENT_PAGES_NAME,
1839 IDS_FLAGS_OFFLINING_RECENT_PAGES_DESCRIPTION, kOsAndroid, 1839 IDS_FLAGS_OFFLINING_RECENT_PAGES_DESCRIPTION, kOsAndroid,
1840 FEATURE_VALUE_TYPE(offline_pages::kOffliningRecentPagesFeature)}, 1840 FEATURE_VALUE_TYPE(offline_pages::kOffliningRecentPagesFeature)},
1841 {"offline-pages-ct", IDS_FLAGS_OFFLINE_PAGES_CT_NAME,
1842 IDS_FLAGS_OFFLINE_PAGES_CT_DESCRIPTION, kOsAndroid,
1843 FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesCTFeature)},
1841 #endif // defined(OS_ANDROID) 1844 #endif // defined(OS_ANDROID)
1842 {"protect-sync-credential", IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_NAME, 1845 {"protect-sync-credential", IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_NAME,
1843 IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_DESCRIPTION, kOsAll, 1846 IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_DESCRIPTION, kOsAll,
1844 FEATURE_VALUE_TYPE(password_manager::features::kProtectSyncCredential)}, 1847 FEATURE_VALUE_TYPE(password_manager::features::kProtectSyncCredential)},
1845 {"protect-sync-credential-on-reauth", 1848 {"protect-sync-credential-on-reauth",
1846 IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_ON_REAUTH_NAME, 1849 IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_ON_REAUTH_NAME,
1847 IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_ON_REAUTH_DESCRIPTION, kOsAll, 1850 IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_ON_REAUTH_DESCRIPTION, kOsAll,
1848 FEATURE_VALUE_TYPE( 1851 FEATURE_VALUE_TYPE(
1849 password_manager::features::kProtectSyncCredentialOnReauth)}, 1852 password_manager::features::kProtectSyncCredentialOnReauth)},
1850 {"password-import-export", IDS_FLAGS_PASSWORD_IMPORT_EXPORT_NAME, 1853 {"password-import-export", IDS_FLAGS_PASSWORD_IMPORT_EXPORT_NAME,
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
2119 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2122 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2120 2123
2121 const FeatureEntry* GetFeatureEntries(size_t* count) { 2124 const FeatureEntry* GetFeatureEntries(size_t* count) {
2122 *count = arraysize(kFeatureEntries); 2125 *count = arraysize(kFeatureEntries);
2123 return kFeatureEntries; 2126 return kFeatureEntries;
2124 } 2127 }
2125 2128
2126 } // namespace testing 2129 } // namespace testing
2127 2130
2128 } // namespace about_flags 2131 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698