| OLD | NEW |
| 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 #ifndef COMPONENTS_PREVIEWS_PREVIEWS_UI_SERVICE_H_ | 5 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ |
| 6 #define COMPONENTS_PREVIEWS_PREVIEWS_UI_SERVICE_H_ | 6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
| 14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
| 15 | 15 |
| 16 namespace previews { | 16 namespace previews { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 38 // The IO thread task runner. Used to post tasks to |io_data_|. | 38 // The IO thread task runner. Used to post tasks to |io_data_|. |
| 39 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; | 39 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
| 40 | 40 |
| 41 base::WeakPtrFactory<PreviewsUIService> weak_factory_; | 41 base::WeakPtrFactory<PreviewsUIService> weak_factory_; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(PreviewsUIService); | 43 DISALLOW_COPY_AND_ASSIGN(PreviewsUIService); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace previews | 46 } // namespace previews |
| 47 | 47 |
| 48 #endif // COMPONENTS_PREVIEWS_PREVIEWS_UI_SERVICE_H_ | 48 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_UI_SERVICE_H_ |
| OLD | NEW |