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

Unified Diff: chrome/browser/sync/test/integration/typed_urls_helper.h

Issue 8370011: Now does not sync URLs that only have imported visits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 9 years, 2 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/sync/test/integration/typed_urls_helper.h
diff --git a/chrome/browser/sync/test/integration/typed_urls_helper.h b/chrome/browser/sync/test/integration/typed_urls_helper.h
index b7923b172b225a9b742695ce35bd8fd18c1c5c9b..86b99c8b8c7fb8a779e2d4b357ca54917e72fba5 100644
--- a/chrome/browser/sync/test/integration/typed_urls_helper.h
+++ b/chrome/browser/sync/test/integration/typed_urls_helper.h
@@ -9,6 +9,7 @@
#include <vector>
#include "chrome/browser/history/history_types.h"
+#include "content/public/common/page_transition_types.h"
namespace base {
class Time;
@@ -20,9 +21,16 @@ namespace typed_urls_helper {
std::vector<history::URLRow> GetTypedUrlsFromClient(int index);
// Adds a URL to the history DB for a specific sync profile (just registers a
-// new visit if the URL already exists).
+// new visit if the URL already exists) using a TYPED PageTransition.
void AddUrlToHistory(int index, const GURL& url);
+// Adds a URL to the history DB for a specific sync profile (just registers a
+// new visit if the URL already exists), using the passed PageTransition.
+void AddUrlToHistoryWithTransition(int index,
+ const GURL& url,
+ content::PageTransition transition,
+ history::VisitSource source);
+
// Deletes a URL from the history DB for a specific sync profile.
void DeleteUrlFromHistory(int index, const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698