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

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

Issue 7841007: Rename browser/sync/test/live_sync directory to browser/sync/test/integration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 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/sync/test/live_sync/typed_urls_helper.h
diff --git a/chrome/browser/sync/test/live_sync/typed_urls_helper.h b/chrome/browser/sync/test/live_sync/typed_urls_helper.h
deleted file mode 100644
index 5447f62bfc4c783a65c0d55be77a7c3dd44aefa1..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/live_sync/typed_urls_helper.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_TYPED_URLS_HELPER_H_
-#define CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_TYPED_URLS_HELPER_H_
-#pragma once
-
-#include <vector>
-
-#include "chrome/browser/history/history_types.h"
-
-namespace base {
-class Time;
-}
-
-namespace typed_urls_helper {
-
-// Gets the typed URLs from a specific sync profile.
-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).
-void AddUrlToHistory(int index, const GURL& url);
-
-// Deletes a URL from the history DB for a specific sync profile.
-void DeleteUrlFromHistory(int index, const GURL& url);
-
-// Returns true if all clients match the verifier profile.
-void AssertAllProfilesHaveSameURLsAsVerifier();
-
-// Checks that the two vectors contain the same set of URLRows (possibly in
-// a different order).
-void AssertURLRowVectorsAreEqual(
- const std::vector<history::URLRow>& left,
- const std::vector<history::URLRow>& right);
-
-// Checks that the passed URLRows are equivalent.
-void AssertURLRowsAreEqual(const history::URLRow& left,
- const history::URLRow& right);
-
-// Returns a unique timestamp to use when generating page visits
-// (HistoryService does not like having identical timestamps and will modify
-// the timestamps behind the scenes if it encounters them, which leads to
-// spurious test failures when the resulting timestamps aren't what we
-// expect).
-base::Time GetTimestamp();
-
-} // namespace typed_urls_helper
-
-#endif // CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_TYPED_URLS_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698