Chromium Code Reviews| Index: ios/web/navigation/serialized_user_data_manager_impl.h |
| diff --git a/ios/web/navigation/serialized_user_data_manager_impl.h b/ios/web/navigation/serialized_user_data_manager_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e3ec1ecbd02863d58aee6eb5eb76858069322509 |
| --- /dev/null |
| +++ b/ios/web/navigation/serialized_user_data_manager_impl.h |
| @@ -0,0 +1,34 @@ |
| +// 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_USER_DATA_MANAGER_IMPL_H_ |
| +#define IOS_WEB_NAVIGATION_SERIALIZED_USER_DATA_MANAGER_IMPL_H_ |
| + |
| +#import <Foundation/Foundation.h> |
| + |
| +#include "base/mac/scoped_nsobject.h" |
| +#include "ios/web/public/serialized_user_data_manager.h" |
| + |
| +namespace web { |
| + |
| +class SerializedUserDataManagerImpl : public SerializedUserDataManager { |
| + public: |
| + SerializedUserDataManagerImpl(); |
| + ~SerializedUserDataManagerImpl() override; |
| + |
| + // SerializedUserDataManager: |
| + void SetValueForSerializationKey(SerializedUserDataType data, |
| + NSString* serialization_key) override; |
| + SerializedUserDataType GetValueForSerializationKey( |
| + NSString* serialization_key) const override; |
| + NSDictionary* GetSerializationDictionary() const override; |
| + void AddValuesFromDictionary(NSDictionary* dictionary) override; |
| + |
| + private: |
| + // The dictionary holding serializable user data. |
| + base::scoped_nsobject<NSMutableDictionary> dictionary_; |
|
Eugene But (OOO till 7-30)
2015/09/24 17:05:07
s/dictionary_/user_data_ ?
kkhorimoto
2015/09/24 21:24:29
Done.
|
| +}; |
| +} |
|
Eugene But (OOO till 7-30)
2015/09/24 17:05:07
// namespace web
kkhorimoto
2015/09/24 21:24:29
Done.
|
| + |
| +#endif // IOS_WEB_NAVIGATION_SERIALIZED_USER_DATA_MANAGER_IMPL_H_ |