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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2219953004: Refactor download image-MIME-type-detection code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add more tests Created 4 years, 4 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 | « chromeos/chromeos_switches.h ('k') | no next file » | 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 "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // Specifies the user which is already logged in. 356 // Specifies the user which is already logged in.
357 const char kLoginUser[] = "login-user"; 357 const char kLoginUser[] = "login-user";
358 358
359 // The memory pressure threshold selection which is used to decide whether and 359 // The memory pressure threshold selection which is used to decide whether and
360 // when a memory pressure event needs to get fired. 360 // when a memory pressure event needs to get fired.
361 const char kMemoryPressureThresholds[] = "memory-pressure-thresholds"; 361 const char kMemoryPressureThresholds[] = "memory-pressure-thresholds";
362 362
363 // Enables natural scroll by default. 363 // Enables natural scroll by default.
364 const char kNaturalScrollDefault[] = "enable-natural-scroll-default"; 364 const char kNaturalScrollDefault[] = "enable-natural-scroll-default";
365 365
366 // An optional comma-separated list of IDs of apps that can be used to take
367 // notes. If unset, a hardcoded list is used instead.
368 const char kNoteTakingAppIds[] = "note-taking-app-ids";
369
366 // Indicates that if we should start bootstrapping Master OOBE. 370 // Indicates that if we should start bootstrapping Master OOBE.
367 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; 371 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master";
368 372
369 // Indicates that a guest session has been started before OOBE completion. 373 // Indicates that a guest session has been started before OOBE completion.
370 const char kOobeGuestSession[] = "oobe-guest-session"; 374 const char kOobeGuestSession[] = "oobe-guest-session";
371 375
372 // Skips all other OOBE pages after user login. 376 // Skips all other OOBE pages after user login.
373 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin"; 377 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin";
374 378
375 // Interval at which we check for total time on OOBE. 379 // Interval at which we check for total time on OOBE.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 472 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
469 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 473 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
470 return false; 474 return false;
471 475
472 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 476 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
473 kTestCrosGaiaIdMigrationStarted; 477 kTestCrosGaiaIdMigrationStarted;
474 } 478 }
475 479
476 } // namespace switches 480 } // namespace switches
477 } // namespace chromeos 481 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698