Moves TabNavigation into components/sessions and renames
SerializedNaviationEntry. FreezeDriedNavigationEntry is probably an
even better name, but I couldn't bring myself to such a long and wordy
class name.
Additionally did the following changes to make it easier to move:
. exposed a bunch of getters on SerializedNavigationEntry so that you don't need to go through SerializedNavigationTestHelper.
. Make WriteToPickle take the max size. This way the code doesn't have a dependency on SessionID.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/14497003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197086 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/components/components_tests.gypi b/components/components_tests.gypi
index c14f73f..bf79fec 100644
--- a/components/components_tests.gypi
+++ b/components/components_tests.gypi
@@ -11,11 +11,12 @@
'type': '<(gtest_target_type)',
'sources': [
'auto_login_parser/auto_login_parser_unittest.cc',
- 'webdata/encryptor/encryptor_password_mac_unittest.cc',
- 'webdata/encryptor/encryptor_unittest.cc',
'navigation_interception/intercept_navigation_resource_throttle_unittest.cc',
+ 'sessions/serialized_navigation_entry_unittest.cc',
'test/run_all_unittests.cc',
'visitedlink/test/visitedlink_unittest.cc',
+ 'webdata/encryptor/encryptor_password_mac_unittest.cc',
+ 'webdata/encryptor/encryptor_unittest.cc',
'zip/zip_reader_unittest.cc',
'zip/zip_unittest.cc',
],
@@ -38,6 +39,12 @@
'../skia/skia.gyp:skia',
'navigation_interception',
+ # Dependencies of sessions
+ '../sync/sync.gyp:sync',
+ '../third_party/protobuf/protobuf.gyp:protobuf_lite',
+ 'sessions',
+ 'sessions_test_support',
+
# Dependencies of visitedlink
'visitedlink_browser',
'visitedlink_renderer',