OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <stdint.h> | 7 #include <stdint.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/memory/scoped_vector.h" | |
12 #include "base/path_service.h" | 11 #include "base/path_service.h" |
13 #include "base/prefs/pref_registry_simple.h" | 12 #include "base/prefs/pref_registry_simple.h" |
14 #include "base/prefs/testing_pref_service.h" | 13 #include "base/prefs/testing_pref_service.h" |
15 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
17 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
18 #include "base/values.h" | 17 #include "base/values.h" |
19 #include "chrome/browser/pref_service_flags_storage.h" | 18 #include "chrome/browser/pref_service_flags_storage.h" |
20 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
21 #include "chrome/common/pref_names.h" | 20 #include "chrome/common/pref_names.h" |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 EXPECT_TRUE(enum_entry != histograms_xml_switches_ids.end() && | 813 EXPECT_TRUE(enum_entry != histograms_xml_switches_ids.end() && |
815 enum_entry->first == flag) | 814 enum_entry->first == flag) |
816 << "histograms.xml enum LoginCustomFlags doesn't contain switch '" | 815 << "histograms.xml enum LoginCustomFlags doesn't contain switch '" |
817 << flag << "' (value=" << uma_id | 816 << flag << "' (value=" << uma_id |
818 << " expected). Consider adding entry:\n" | 817 << " expected). Consider adding entry:\n" |
819 << " " << GetHistogramEnumEntryText(flag, uma_id); | 818 << " " << GetHistogramEnumEntryText(flag, uma_id); |
820 } | 819 } |
821 } | 820 } |
822 | 821 |
823 } // namespace about_flags | 822 } // namespace about_flags |
OLD | NEW |