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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/guid.h" | 9 #include "base/guid.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
14 #include "components/dom_distiller/core/distilled_content_store.h" | 14 #include "components/dom_distiller/core/distilled_content_store.h" |
15 #include "components/dom_distiller/core/dom_distiller_store.h" | 15 #include "components/dom_distiller/core/dom_distiller_store.h" |
16 #include "components/dom_distiller/core/proto/distilled_article.pb.h" | 16 #include "components/dom_distiller/core/proto/distilled_article.pb.h" |
17 #include "components/dom_distiller/core/task_tracker.h" | 17 #include "components/dom_distiller/core/task_tracker.h" |
18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
19 | 19 |
20 namespace dom_distiller { | 20 namespace dom_distiller { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 void DomDistillerService::RemoveObserver(DomDistillerObserver* observer) { | 278 void DomDistillerService::RemoveObserver(DomDistillerObserver* observer) { |
279 DCHECK(observer); | 279 DCHECK(observer); |
280 store_->RemoveObserver(observer); | 280 store_->RemoveObserver(observer); |
281 } | 281 } |
282 | 282 |
283 DistilledPagePrefs* DomDistillerService::GetDistilledPagePrefs() { | 283 DistilledPagePrefs* DomDistillerService::GetDistilledPagePrefs() { |
284 return distilled_page_prefs_.get(); | 284 return distilled_page_prefs_.get(); |
285 } | 285 } |
286 | 286 |
287 } // namespace dom_distiller | 287 } // namespace dom_distiller |
OLD | NEW |