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

Unified Diff: chrome/browser/history/typed_url_syncable_service.h

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/typed_url_syncable_service.h
diff --git a/chrome/browser/history/typed_url_syncable_service.h b/chrome/browser/history/typed_url_syncable_service.h
index b696db830c3cd6a79065e8af1bf65d53fd5a8edd..c1b835fa361db37192dd1532a746bdc9e707b76a 100644
--- a/chrome/browser/history/typed_url_syncable_service.h
+++ b/chrome/browser/history/typed_url_syncable_service.h
@@ -10,12 +10,12 @@
#include "chrome/browser/history/history_notifications.h"
#include "chrome/browser/history/history_types.h"
-#include "content/public/common/page_transition_types.h"
#include "sync/api/sync_change.h"
#include "sync/api/sync_data.h"
#include "sync/api/sync_error.h"
#include "sync/api/sync_error_factory.h"
#include "sync/api/syncable_service.h"
+#include "ui/base/page_transition_types.h"
class GURL;
class TypedUrlSyncableServiceTest;
@@ -57,7 +57,7 @@ class TypedUrlSyncableService : public syncer::SyncableService {
// Called directly by HistoryBackend when local url data changes.
void OnUrlsModified(URLRows* changed_urls);
- void OnUrlVisited(content::PageTransition transition, URLRow* row);
+ void OnUrlVisited(ui::PageTransition transition, URLRow* row);
void OnUrlsDeleted(bool all_history, bool expired, URLRows* rows);
protected:
@@ -86,7 +86,7 @@ class TypedUrlSyncableService : public syncer::SyncableService {
// notification. We use this to throttle the number of sync changes we send
// to the server so we don't hit the server for every
// single typed URL visit.
- bool ShouldSyncVisit(content::PageTransition transition, URLRow* row);
+ bool ShouldSyncVisit(ui::PageTransition transition, URLRow* row);
// Utility routine that either updates an existing sync node or creates a
// new one for the passed |typed_url| if one does not already exist. Returns
« no previous file with comments | « chrome/browser/history/top_sites_impl_unittest.cc ('k') | chrome/browser/history/typed_url_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698