From debd787a25bfdc9a6f66ebe879af426182e55722 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Wed, 1 May 2013 23:53:26 +0000 Subject: 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 --- components/sessions/serialized_navigation_entry.cc | 1 + components/sessions/serialized_navigation_entry.h | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'components/sessions') 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 +#include #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; -- cgit v1.1