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

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

Issue 2693093002: Fetch file metadata of files under Team Drives. (Closed)
Patch Set: Remove redundant de-referencing. Created 3 years, 10 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 2225 matching lines...) Expand 10 before | Expand all | Expand 10 after
2236 IDS_FLAGS_AIA_FETCHING_DESCRIPTION, kOsAndroid, 2236 IDS_FLAGS_AIA_FETCHING_DESCRIPTION, kOsAndroid,
2237 FEATURE_VALUE_TYPE(net::CertVerifyProcAndroid::kAIAFetchingFeature)}, 2237 FEATURE_VALUE_TYPE(net::CertVerifyProcAndroid::kAIAFetchingFeature)},
2238 #endif 2238 #endif
2239 2239
2240 #if defined(OS_CHROMEOS) 2240 #if defined(OS_CHROMEOS)
2241 {"force-enable-stylus-tools", IDS_FLAGS_FORCE_ENABLE_STYLUS_TOOLS_NAME, 2241 {"force-enable-stylus-tools", IDS_FLAGS_FORCE_ENABLE_STYLUS_TOOLS_NAME,
2242 IDS_FLAGS_FORCE_ENABLE_STYLUS_TOOLS_DESCRIPTION, kOsCrOS, 2242 IDS_FLAGS_FORCE_ENABLE_STYLUS_TOOLS_DESCRIPTION, kOsCrOS,
2243 SINGLE_VALUE_TYPE(ash::switches::kAshForceEnablePalette)}, 2243 SINGLE_VALUE_TYPE(ash::switches::kAshForceEnablePalette)},
2244 #endif // defined(OS_CHROMEOS) 2244 #endif // defined(OS_CHROMEOS)
2245 2245
2246 #if defined(OS_CHROMEOS)
2247 {"team-drives", IDS_FLAGS_USE_TEAM_DRIVES_NAME,
2248 IDS_FLAGS_USE_TEAM_DRIVES_DESCRIPTION, kOsCrOS,
2249 SINGLE_VALUE_TYPE("team-drives")},
hashimoto 2017/02/20 03:26:29 Please use constant.
yamaguchi 2017/02/20 08:21:29 Reverted this change as we won't expose this as ab
2250 #endif // OS_CHROMEOS
2251
2246 {"enable-midi-manager-dynamic-instantiation", 2252 {"enable-midi-manager-dynamic-instantiation",
2247 IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_NAME, 2253 IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_NAME,
2248 IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_DESCRIPTION, kOsAll, 2254 IDS_FLAGS_ENABLE_MIDI_MANAGER_DYNAMIC_INSTANTIATION_DESCRIPTION, kOsAll,
2249 FEATURE_VALUE_TYPE(midi::features::kMidiManagerDynamicInstantiation)}, 2255 FEATURE_VALUE_TYPE(midi::features::kMidiManagerDynamicInstantiation)},
2250 2256
2251 #if defined(OS_WIN) 2257 #if defined(OS_WIN)
2252 {"new-usb-backend", IDS_FLAGS_NEW_USB_BACKEND_NAME, 2258 {"new-usb-backend", IDS_FLAGS_NEW_USB_BACKEND_NAME,
2253 IDS_FLAGS_NEW_USB_BACKEND_DESCRIPTION, kOsWin, 2259 IDS_FLAGS_NEW_USB_BACKEND_DESCRIPTION, kOsWin,
2254 FEATURE_VALUE_TYPE(device::kNewUsbBackend)}, 2260 FEATURE_VALUE_TYPE(device::kNewUsbBackend)},
2255 #endif // defined(OS_WIN) 2261 #endif // defined(OS_WIN)
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
2463 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2469 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2464 2470
2465 const FeatureEntry* GetFeatureEntries(size_t* count) { 2471 const FeatureEntry* GetFeatureEntries(size_t* count) {
2466 *count = arraysize(kFeatureEntries); 2472 *count = arraysize(kFeatureEntries);
2467 return kFeatureEntries; 2473 return kFeatureEntries;
2468 } 2474 }
2469 2475
2470 } // namespace testing 2476 } // namespace testing
2471 2477
2472 } // namespace about_flags 2478 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698