Chromium Code Reviews| Index: ios/web/navigation/serialized_navigation_manager_builder.h |
| diff --git a/ios/web/navigation/serialized_navigation_manager_builder.h b/ios/web/navigation/serialized_navigation_manager_builder.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1dce58aa79c49283d534daef8fd4f415004ed83f |
| --- /dev/null |
| +++ b/ios/web/navigation/serialized_navigation_manager_builder.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef IOS_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_ |
| +#define IOS_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_ |
| + |
| +#import <Foundation/Foundation.h> |
| + |
| +#include "base/memory/scoped_ptr.h" |
| +#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.
|
| + |
| +@class CRWSerializedNavigationManager; |
| + |
| +namespace web { |
| + |
| +class NavigationManagerImpl; |
| + |
| +class SerializedNavigationManagerBuilder { |
| + public: |
| + // Construct an autoreleased CRWSerializedNavigationManager from |
| + // |navigationManager|. |
| + static CRWSerializedNavigationManager* FromNavigationManager( |
| + NavigationManagerImpl* navigation_manager); |
| + |
| + // Constructs a NavigationManagerImpl from |serializedNavigationManager|. |
| + static scoped_ptr<NavigationManagerImpl> ToNavigationManager( |
| + CRWSerializedNavigationManager* serialized_navigation_manager); |
| +}; |
| + |
| +} // namespace web |
| + |
| +#endif // IOS_WEB_NAVIGATION_SERIALIZED_NAVIGATION_MANAGER_BUILDER_H_ |