| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 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_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_ |
| 6 #define IOS_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 |
| 10 #include "base/memory/scoped_ptr.h" |
| 11 |
| 12 @class CRWSerializedNavigationManager; |
| 13 |
| 14 namespace web { |
| 15 |
| 16 class NavigationManagerImpl; |
| 17 |
| 18 class SerializedNavigationManagerBuilder { |
| 19 public: |
| 20 // Construct an autoreleased CRWSerializedNavigationManager from |
| 21 // |navigationManager|. |
| 22 static CRWSerializedNavigationManager* FromNavigationManager( |
| 23 NavigationManagerImpl* navigation_manager); |
| 24 |
| 25 // Constructs a NavigationManagerImpl from |serializedNavigationManager|. |
| 26 static scoped_ptr<NavigationManagerImpl> ToNavigationManager( |
| 27 CRWSerializedNavigationManager* serialized_navigation_manager); |
| 28 }; |
| 29 |
| 30 } // namespace web |
| 31 |
| 32 #endif // IOS_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_ |
| OLD | NEW |