OLD | NEW |
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 <string.h> | 5 #include <string.h> |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 10 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 #include "chrome/test/base/in_process_browser_test.h" | 12 #include "chrome/test/base/in_process_browser_test.h" |
13 #include "chrome/test/base/ui_test_utils.h" | 13 #include "chrome/test/base/ui_test_utils.h" |
14 #include "components/dom_distiller/content/browser/distillable_page_utils.h" | 14 #include "components/dom_distiller/content/browser/distillable_page_utils.h" |
15 #include "components/dom_distiller/core/dom_distiller_switches.h" | 15 #include "components/dom_distiller/core/dom_distiller_switches.h" |
16 #include "content/public/test/browser_test_utils.h" | 16 #include "content/public/test/browser_test_utils.h" |
17 #include "content/public/test/test_utils.h" | 17 #include "content/public/test/test_utils.h" |
18 #include "net/test/embedded_test_server/embedded_test_server.h" | 18 #include "net/test/embedded_test_server/embedded_test_server.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 161 } |
162 { | 162 { |
163 testing::InSequence dummy; | 163 testing::InSequence dummy; |
164 EXPECT_CALL(holder_, OnResult(false, false)).Times(1); | 164 EXPECT_CALL(holder_, OnResult(false, false)).Times(1); |
165 EXPECT_CALL(holder_, OnResult(false, true)).Times(1); | 165 EXPECT_CALL(holder_, OnResult(false, true)).Times(1); |
166 NavigateAndWait(kNonArticlePath); | 166 NavigateAndWait(kNonArticlePath); |
167 } | 167 } |
168 } | 168 } |
169 | 169 |
170 } // namespace dom_distiller | 170 } // namespace dom_distiller |
OLD | NEW |