OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_DOM_DISTILLER_LAZY_DOM_DISTILLER_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DOM_DISTILLER_LAZY_DOM_DISTILLER_SERVICE_H_ |
6 #define CHROME_BROWSER_DOM_DISTILLER_LAZY_DOM_DISTILLER_SERVICE_H_ | 6 #define CHROME_BROWSER_DOM_DISTILLER_LAZY_DOM_DISTILLER_SERVICE_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "components/dom_distiller/core/dom_distiller_service.h" | 11 #include "components/dom_distiller/core/dom_distiller_service.h" |
11 #include "components/dom_distiller/core/task_tracker.h" | 12 #include "components/dom_distiller/core/task_tracker.h" |
12 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
14 | 15 |
15 namespace content { | 16 namespace content { |
16 class NotificationSource; | 17 class NotificationSource; |
17 class NotificationDetails; | 18 class NotificationDetails; |
18 } // namespace content | 19 } // namespace content |
19 | 20 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 80 |
80 // Used to track when the profile is shut down. | 81 // Used to track when the profile is shut down. |
81 content::NotificationRegistrar registrar_; | 82 content::NotificationRegistrar registrar_; |
82 | 83 |
83 DISALLOW_COPY_AND_ASSIGN(LazyDomDistillerService); | 84 DISALLOW_COPY_AND_ASSIGN(LazyDomDistillerService); |
84 }; | 85 }; |
85 | 86 |
86 } // namespace dom_distiller | 87 } // namespace dom_distiller |
87 | 88 |
88 #endif // CHROME_BROWSER_DOM_DISTILLER_LAZY_DOM_DISTILLER_SERVICE_H_ | 89 #endif // CHROME_BROWSER_DOM_DISTILLER_LAZY_DOM_DISTILLER_SERVICE_H_ |
OLD | NEW |