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

Side by Side Diff: chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc

Issue 689553002: Cleanup: Remove unneeded path_service.h includes in base and chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <string.h> 5 #include <string.h>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/guid.h" 8 #include "base/guid.h"
9 #include "base/path_service.h"
10 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" 10 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
12 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/tabs/tab_strip_model.h" 13 #include "chrome/browser/ui/tabs/tab_strip_model.h"
15 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
16 #include "chrome/test/base/in_process_browser_test.h" 15 #include "chrome/test/base/in_process_browser_test.h"
17 #include "chrome/test/base/ui_test_utils.h" 16 #include "chrome/test/base/ui_test_utils.h"
18 #include "components/dom_distiller/content/dom_distiller_viewer_source.h" 17 #include "components/dom_distiller/content/dom_distiller_viewer_source.h"
19 #include "components/dom_distiller/core/article_entry.h" 18 #include "components/dom_distiller/core/article_entry.h"
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 EXPECT_EQ("dark sans-serif", result); 354 EXPECT_EQ("dark sans-serif", result);
356 355
357 distilled_page_prefs->SetFontFamily(DistilledPagePrefs::SERIF); 356 distilled_page_prefs->SetFontFamily(DistilledPagePrefs::SERIF);
358 base::RunLoop().RunUntilIdle(); 357 base::RunLoop().RunUntilIdle();
359 EXPECT_TRUE( 358 EXPECT_TRUE(
360 content::ExecuteScriptAndExtractString(contents, kGetBodyClass, &result)); 359 content::ExecuteScriptAndExtractString(contents, kGetBodyClass, &result));
361 EXPECT_EQ("dark serif", result); 360 EXPECT_EQ("dark serif", result);
362 } 361 }
363 362
364 } // namespace dom_distiller 363 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698