Chromium Code Reviews| 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 #import "base/mac/scoped_nsobject.h" | |
|
Eugene But (OOO till 7-30)
2015/09/23 16:33:44
This include is unused
kkhorimoto
2015/09/24 18:12:59
Done.
| |
| 12 | |
| 13 @class CRWSerializedNavigationManager; | |
| 14 | |
| 15 namespace web { | |
| 16 | |
| 17 class NavigationManagerImpl; | |
| 18 | |
| 19 class SerializedNavigationManagerBuilder { | |
| 20 public: | |
| 21 // Construct an autoreleased CRWSerializedNavigationManager from | |
| 22 // |navigationManager|. | |
| 23 static CRWSerializedNavigationManager* FromNavigationManager( | |
| 24 NavigationManagerImpl* navigation_manager); | |
| 25 | |
| 26 // Constructs a NavigationManagerImpl from |serializedNavigationManager|. | |
| 27 static scoped_ptr<NavigationManagerImpl> ToNavigationManager( | |
| 28 CRWSerializedNavigationManager* serialized_navigation_manager); | |
| 29 }; | |
| 30 | |
| 31 } // namespace web | |
| 32 | |
| 33 #endif // IOS_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_ | |
| OLD | NEW |