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

Side by Side Diff: chrome/browser/android/offline_pages/request_coordinator_factory_unittest.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/android/offline_pages/request_coordinator_factory.h" 5 #include "chrome/browser/android/offline_pages/request_coordinator_factory.h"
6 6
7 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 7 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
8 #include "components/offline_pages/background/request_coordinator.h" 8 #include "components/offline_pages/core/background/request_coordinator.h"
9 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace offline_pages { 12 namespace offline_pages {
13 13
14 class RequestCoordinatorFactoryTest : public ChromeRenderViewHostTestHarness { 14 class RequestCoordinatorFactoryTest : public ChromeRenderViewHostTestHarness {
15 public: 15 public:
16 RequestCoordinatorFactoryTest(); 16 RequestCoordinatorFactoryTest();
17 ~RequestCoordinatorFactoryTest() override; 17 ~RequestCoordinatorFactoryTest() override;
18 18
(...skipping 18 matching lines...) Expand all
37 37
38 RequestCoordinator* coordinator2 = 38 RequestCoordinator* coordinator2 =
39 factory->GetForBrowserContext(browser_context()); 39 factory->GetForBrowserContext(browser_context());
40 // Calling twice gives us the same coordinator. 40 // Calling twice gives us the same coordinator.
41 EXPECT_EQ(coordinator1, coordinator2); 41 EXPECT_EQ(coordinator1, coordinator2);
42 42
43 FlushBlockingPool(); 43 FlushBlockingPool();
44 } 44 }
45 45
46 } // namespace offline_pages 46 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698