Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: ios/web/navigation/serialized_navigation_manager_builder.h

Issue 1360993002: Moved NavigationManagerImpl serialization out of CRWSessionController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698