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

Side by Side Diff: chrome/browser/android/offline_pages/evaluation/evaluation_test_scheduler.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: update Created 4 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 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/evaluation/evaluation_test_schedu ler.h" 5 #include "chrome/browser/android/offline_pages/evaluation/evaluation_test_schedu ler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/threading/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "chrome/browser/android/offline_pages/request_coordinator_factory.h" 9 #include "chrome/browser/android/offline_pages/request_coordinator_factory.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/profiles/profile_manager.h" 11 #include "chrome/browser/profiles/profile_manager.h"
12 #include "components/offline_pages/background/device_conditions.h" 12 #include "components/offline_pages/core/background/device_conditions.h"
13 #include "components/offline_pages/background/request_coordinator.h" 13 #include "components/offline_pages/core/background/request_coordinator.h"
14 #include "net/base/network_change_notifier.h" 14 #include "net/base/network_change_notifier.h"
15 15
16 namespace offline_pages { 16 namespace offline_pages {
17 17
18 namespace android { 18 namespace android {
19 19
20 namespace { 20 namespace {
21 21
22 void StartProcessing(); 22 void StartProcessing();
23 23
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 void EvaluationTestScheduler::Unschedule() {} 62 void EvaluationTestScheduler::Unschedule() {}
63 63
64 void EvaluationTestScheduler::ImmediateScheduleCallback(bool result) { 64 void EvaluationTestScheduler::ImmediateScheduleCallback(bool result) {
65 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, 65 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
66 base::Bind(&StartProcessing)); 66 base::Bind(&StartProcessing));
67 } 67 }
68 68
69 } // namespace android 69 } // namespace android
70 } // namespace offline_pages 70 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698