diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 23:53:26 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 23:53:26 +0000 |
commit | debd787a25bfdc9a6f66ebe879af426182e55722 (patch) | |
tree | f2e11f08e16a069dadc143f0157c376043f2f552 /components/sessions | |
parent | eec66a8efa7b667e5b371b51746cd54925e1aee7 (diff) | |
download | chromium_src-debd787a25bfdc9a6f66ebe879af426182e55722.zip chromium_src-debd787a25bfdc9a6f66ebe879af426182e55722.tar.gz chromium_src-debd787a25bfdc9a6f66ebe879af426182e55722.tar.bz2 |
Forward declare sync_pb::TabNavigation so that anyone using
components/sessions doesn't need an explicit dependency on sync.gyp
for includes.
BUG=none
TEST=none
R=zea@chromium.org
Review URL: https://codereview.chromium.org/14740006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/sessions')
-rw-r--r-- | components/sessions/serialized_navigation_entry.cc | 1 | ||||
-rw-r--r-- | components/sessions/serialized_navigation_entry.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/components/sessions/serialized_navigation_entry.cc b/components/sessions/serialized_navigation_entry.cc index cd0d807..7d151a0 100644 --- a/components/sessions/serialized_navigation_entry.cc +++ b/components/sessions/serialized_navigation_entry.cc @@ -9,6 +9,7 @@ #include "content/public/browser/favicon_status.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_entry.h" +#include "sync/protocol/session_specifics.pb.h" #include "sync/util/time.h" #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h" #include "webkit/glue/glue_serialize.h" diff --git a/components/sessions/serialized_navigation_entry.h b/components/sessions/serialized_navigation_entry.h index 5adfdb8..dbde6d7 100644 --- a/components/sessions/serialized_navigation_entry.h +++ b/components/sessions/serialized_navigation_entry.h @@ -6,6 +6,7 @@ #define COMPONENTS_SESSIONS_SERIALIZED_NAVIGATION_ENTRY_H_ #include <string> +#include <vector> #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" @@ -15,7 +16,6 @@ #include "content/public/common/page_transition_types.h" #include "content/public/common/referrer.h" #include "googleurl/src/gurl.h" -#include "sync/protocol/session_specifics.pb.h" class Pickle; class PickleIterator; @@ -25,6 +25,10 @@ class BrowserContext; class NavigationEntry; } +namespace sync_pb { +class TabNavigation; +} + namespace sessions { class SerializedNavigationEntryTestHelper; |