OLD | NEW |
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 "base/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "chrome/browser/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
10 #include "chrome/common/chrome_constants.h" | 10 #include "chrome/common/chrome_constants.h" |
11 #include "chrome/common/chrome_paths.h" | 11 #include "chrome/common/chrome_paths.h" |
12 #include "chrome/common/pref_names.h" | 12 #include "chrome/common/pref_names.h" |
13 #include "chrome/test/base/in_process_browser_test.h" | 13 #include "chrome/test/base/in_process_browser_test.h" |
14 #include "chrome/test/base/testing_profile.h" | 14 #include "chrome/test/base/testing_profile.h" |
15 | 15 |
16 class PrefsTabHelperBrowserTest : public InProcessBrowserTest { | 16 class PrefsTabHelperBrowserTest : public InProcessBrowserTest { |
17 protected: | 17 protected: |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // So it doesn't need to be tested here. | 163 // So it doesn't need to be tested here. |
164 EXPECT_EQ("FixedFontFamily", | 164 EXPECT_EQ("FixedFontFamily", |
165 prefs->GetString(prefs::kWebKitFixedFontFamily)); | 165 prefs->GetString(prefs::kWebKitFixedFontFamily)); |
166 EXPECT_EQ("SansSerifFontFamily", | 166 EXPECT_EQ("SansSerifFontFamily", |
167 prefs->GetString(prefs::kWebKitSansSerifFontFamily)); | 167 prefs->GetString(prefs::kWebKitSansSerifFontFamily)); |
168 EXPECT_EQ("SerifFontFamily", | 168 EXPECT_EQ("SerifFontFamily", |
169 prefs->GetString(prefs::kWebKitSerifFontFamily)); | 169 prefs->GetString(prefs::kWebKitSerifFontFamily)); |
170 EXPECT_EQ("StandardFontFamily", | 170 EXPECT_EQ("StandardFontFamily", |
171 prefs->GetString(prefs::kWebKitStandardFontFamily)); | 171 prefs->GetString(prefs::kWebKitStandardFontFamily)); |
172 }; | 172 }; |
OLD | NEW |