OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_PHYSICAL_WEB_CREATE_PHYSICAL_WEB_DATA_SOURCE_H_ |
| 6 #define IOS_CHROME_BROWSER_PHYSICAL_WEB_CREATE_PHYSICAL_WEB_DATA_SOURCE_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 class PhysicalWebDataSource; |
| 11 |
| 12 // Creates a new instance of PhysicalWebDataSourceIOS. The returned object |
| 13 // is fully initialized and can be registered as global singleton. |
| 14 // |
| 15 // This helper function allows the construction of PhysicalWebDataSourceIOS |
| 16 // from pure C++ (PhysicalWebDataSourceIOS is an Objective-C++ class). |
| 17 std::unique_ptr<PhysicalWebDataSource> CreatePhysicalWebDataSourceIOS(); |
| 18 |
| 19 #endif // IOS_CHROME_BROWSER_PHYSICAL_WEB_CREATE_PHYSICAL_WEB_DATA_SOURCE_H_ |
OLD | NEW |