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

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

Issue 8571005: Add four new sync integration tests for custom search engines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial upload. Created 9 years, 1 month 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/search_engines_helper.h
diff --git a/chrome/browser/sync/test/integration/search_engines_helper.h b/chrome/browser/sync/test/integration/search_engines_helper.h
index 48582803e5e4c3525df3291ab9e78869cc1094a6..15147744ae3652d52328ecb3f4190239219e2173 100644
--- a/chrome/browser/sync/test/integration/search_engines_helper.h
+++ b/chrome/browser/sync/test/integration/search_engines_helper.h
@@ -52,6 +52,7 @@ void AddSearchEngine(int profile, int seed);
// Retrieves a search engine from the service at index |profile| with original
// keyword |keyword| and changes its user-visible fields. Does the same to the
+// verifier, if it is used. If profile -1 is specified, this only affects the
Raghu Simha 2011/11/16 01:14:41 All these changes involving |profile| == -1 might
SteveT 2011/11/16 15:43:32 Removed all these comments.
// verifier, if it is used.
void EditSearchEngine(int profile,
const std::string& keyword,
@@ -60,15 +61,18 @@ void EditSearchEngine(int profile,
const std::string& url);
// Deletes a search engine from the service at index |profile| with original
-// keyword |keyword|. Does the same to the verifier, if it is used.
+// keyword |keyword|. Does the same to the verifier, if it is used. If profile
+// -1 is specified, this only affects the verifier, if it is used.
void DeleteSearchEngineByKeyword(int profile, const string16 keyword);
// Deletes a search engine from the service at index |profile| which was
-// generated by seed |seed|.
+// generated by seed |seed|. If profile -1 is specified, this only affects the
+// verifier, if it is used.
void DeleteSearchEngineBySeed(int profile, int seed);
// Change the search engine generated with |seed| in service at index |profile|
-// to be the new default. Does the same to the verifier, if it is used.
+// to be the new default. Does the same to the verifier, if it is used. If
+// profile -1 is specified, this only affects the verifier, if it is used.
void ChangeDefaultSearchProvider(int profile, int seed);
} // namespace search_engines_helper

Powered by Google App Engine
This is Rietveld 408576698