OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/dom_distiller/core/dom_distiller_service.h" | 5 #include "components/dom_distiller/core/dom_distiller_service.h" |
6 | 6 |
7 #include "base/guid.h" | 7 #include "base/guid.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/message_loop/message_loop.h" |
9 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
11 #include "components/dom_distiller/core/distilled_content_store.h" | 12 #include "components/dom_distiller/core/distilled_content_store.h" |
12 #include "components/dom_distiller/core/dom_distiller_store.h" | 13 #include "components/dom_distiller/core/dom_distiller_store.h" |
13 #include "components/dom_distiller/core/proto/distilled_article.pb.h" | 14 #include "components/dom_distiller/core/proto/distilled_article.pb.h" |
14 #include "components/dom_distiller/core/task_tracker.h" | 15 #include "components/dom_distiller/core/task_tracker.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 namespace dom_distiller { | 18 namespace dom_distiller { |
18 | 19 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 void DomDistillerService::RemoveObserver(DomDistillerObserver* observer) { | 255 void DomDistillerService::RemoveObserver(DomDistillerObserver* observer) { |
255 DCHECK(observer); | 256 DCHECK(observer); |
256 store_->RemoveObserver(observer); | 257 store_->RemoveObserver(observer); |
257 } | 258 } |
258 | 259 |
259 DistilledPagePrefs* DomDistillerService::GetDistilledPagePrefs() { | 260 DistilledPagePrefs* DomDistillerService::GetDistilledPagePrefs() { |
260 return distilled_page_prefs_.get(); | 261 return distilled_page_prefs_.get(); |
261 } | 262 } |
262 | 263 |
263 } // namespace dom_distiller | 264 } // namespace dom_distiller |
OLD | NEW |