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

Side by Side Diff: components/dom_distiller/content/browser/distillable_page_utils_browsertest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/bind.h" 5 #include "base/bind.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "build/build_config.h"
8 #include "components/dom_distiller/content/browser/distillable_page_utils.h" 9 #include "components/dom_distiller/content/browser/distillable_page_utils.h"
9 #include "components/dom_distiller/content/browser/distiller_javascript_utils.h" 10 #include "components/dom_distiller/content/browser/distiller_javascript_utils.h"
10 #include "components/dom_distiller/core/distillable_page_detector.h" 11 #include "components/dom_distiller/core/distillable_page_detector.h"
11 #include "components/dom_distiller/core/page_features.h" 12 #include "components/dom_distiller/core/page_features.h"
12 #include "content/public/browser/browser_context.h" 13 #include "content/public/browser/browser_context.h"
13 #include "content/public/browser/render_frame_host.h" 14 #include "content/public/browser/render_frame_host.h"
14 #include "content/public/browser/web_contents_observer.h" 15 #include "content/public/browser/web_contents_observer.h"
15 #include "content/public/common/isolated_world_ids.h" 16 #include "content/public/common/isolated_world_ids.h"
16 #include "content/public/test/content_browser_test.h" 17 #include "content/public/test/content_browser_test.h"
17 #include "content/shell/browser/shell.h" 18 #include "content/shell/browser/shell.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 LoadURL(kArticlePath); 171 LoadURL(kArticlePath);
171 base::RunLoop run_loop_; 172 base::RunLoop run_loop_;
172 ResultHolder holder(run_loop_.QuitClosure()); 173 ResultHolder holder(run_loop_.QuitClosure());
173 IsDistillablePageForDetector(shell()->web_contents(), detector.get(), 174 IsDistillablePageForDetector(shell()->web_contents(), detector.get(),
174 holder.GetCallback()); 175 holder.GetCallback());
175 run_loop_.Run(); 176 run_loop_.Run();
176 ASSERT_FALSE(holder.GetResult()); 177 ASSERT_FALSE(holder.GetResult());
177 } 178 }
178 179
179 } // namespace dom_distiller 180 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698