| 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_IO_DATA_H_ | 5 #ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_IO_DATA_H_ |
| 6 #define COMPONENTS_PREVIEWS_PREVIEWS_IO_DATA_H_ | 6 #define COMPONENTS_PREVIEWS_CORE_PREVIEWS_IO_DATA_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 29 matching lines...) Expand all Loading... |
| 46 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; | 46 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; |
| 47 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; | 47 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
| 48 | 48 |
| 49 base::WeakPtrFactory<PreviewsIOData> weak_factory_; | 49 base::WeakPtrFactory<PreviewsIOData> weak_factory_; |
| 50 | 50 |
| 51 DISALLOW_COPY_AND_ASSIGN(PreviewsIOData); | 51 DISALLOW_COPY_AND_ASSIGN(PreviewsIOData); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace previews | 54 } // namespace previews |
| 55 | 55 |
| 56 #endif // COMPONENTS_PREVIEWS_PREVIEWS_IO_DATA_H_ | 56 #endif // COMPONENTS_PREVIEWS_CORE_PREVIEWS_IO_DATA_H_ |
| OLD | NEW |