Chromium Code Reviews| Index: chrome/browser/about_flags.h |
| diff --git a/chrome/browser/about_flags.h b/chrome/browser/about_flags.h |
| index 899e0326b297138eb4b2b2d01a51408f459a7688..a8f25dbd1b8e27f67b0f44a57619e899277592cb 100644 |
| --- a/chrome/browser/about_flags.h |
| +++ b/chrome/browser/about_flags.h |
| @@ -107,6 +107,12 @@ struct Experiment { |
| // commandline flags belonging to the active experiments to |command_line|. |
| void ConvertFlagsToSwitches(PrefService* prefs, CommandLine* command_line); |
| +// Compares a set of switches present in the provided command line to those |
| +// in the current process command line and returns true if they are the same |
|
Mattias Nissler (ping if slow)
2013/06/12 14:53:03
nit: you're actually passing both CommandLine refe
pastarmovj
2013/06/12 16:19:33
This comment was outdated. I changed this for bett
|
| +// and false otherwise. |
| +bool CompareSwitchesToCurrentCommandLine(const CommandLine& new_cmdline, |
| + const CommandLine& active_cmdline); |
| + |
| // Differentiate between generic flags available on a per session base and flags |
| // that influence the whole machine and can be said by the admin only. This flag |
| // is relevant for ChromeOS for now only and dictates whether entries marked |