| 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 IOS_INTERNAL_WEB_WEBUI_URL_DATA_SOURCE_IMPL_IOS_H_ | 5 #ifndef IOS_WEB_WEBUI_URL_DATA_SOURCE_IOS_IMPL_H_ |
| 6 #define IOS_INTERNAL_WEB_WEBUI_URL_DATA_SOURCE_IMPL_IOS_H_ | 6 #define IOS_WEB_WEBUI_URL_DATA_SOURCE_IOS_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/sequenced_task_runner_helpers.h" | 11 #include "base/sequenced_task_runner_helpers.h" |
| 12 #include "ios/web/webui/url_data_manager_ios.h" | 12 #include "ios/web/webui/url_data_manager_ios.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class RefCountedMemory; | 15 class RefCountedMemory; |
| 16 } | 16 } |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // should only be accessed on the IO thread. This reference can't be via a | 90 // should only be accessed on the IO thread. This reference can't be via a |
| 91 // scoped_refptr else there would be a cycle between the backend and data | 91 // scoped_refptr else there would be a cycle between the backend and data |
| 92 // source. | 92 // source. |
| 93 URLDataManagerIOSBackend* backend_; | 93 URLDataManagerIOSBackend* backend_; |
| 94 | 94 |
| 95 std::unique_ptr<URLDataSourceIOS> source_; | 95 std::unique_ptr<URLDataSourceIOS> source_; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace web | 98 } // namespace web |
| 99 | 99 |
| 100 #endif // IOS_INTERNAL_WEB_WEBUI_URL_DATA_SOURCE_IMPL_IOS_H_ | 100 #endif // IOS_WEB_WEBUI_URL_DATA_SOURCE_IOS_IMPL_H_ |
| OLD | NEW |