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

Unified Diff: sync/test/fake_server/fake_server.h

Issue 1083683003: Speculative revert by sheriff (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed an unrelated commit that had accidentally slipped in. Created 5 years, 8 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
« no previous file with comments | « sync/test/fake_server/bookmark_entity_builder.cc ('k') | sync/test/fake_server/fake_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/fake_server.h
diff --git a/sync/test/fake_server/fake_server.h b/sync/test/fake_server/fake_server.h
index ecc8bd7430b31fec2cd8e498775e68b5a23b03ea..78edd9a0b0c412dbed94c44fbbc1021a926b2510 100644
--- a/sync/test/fake_server/fake_server.h
+++ b/sync/test/fake_server/fake_server.h
@@ -116,9 +116,6 @@ class FakeServer {
// This can be used to trigger exponential backoff in the client.
void DisableNetwork();
- // Returns the entity ID of the Bookmark Bar folder.
- std::string GetBookmarkBarFolderId() const;
-
private:
typedef std::map<std::string, FakeServerEntity*> EntityMap;
@@ -131,13 +128,14 @@ class FakeServer {
const std::string& invalidator_client_id,
sync_pb::CommitResponse* response);
- // Creates and saves a permanent folder for Bookmarks (e.g., Bookmark Bar).
- bool CreatePermanentBookmarkFolder(const std::string& server_tag,
- const std::string& name);
+ bool CreatePermanentBookmarkFolder(const char* server_tag, const char* name);
// Inserts the default permanent items in |entities_|.
bool CreateDefaultPermanentItems();
+ // Inserts the mobile bookmarks folder entity in |entities_|.
+ bool CreateMobileBookmarksPermanentItem();
+
// Saves a |entity| to |entities_|.
void SaveEntity(FakeServerEntity* entity);
« no previous file with comments | « sync/test/fake_server/bookmark_entity_builder.cc ('k') | sync/test/fake_server/fake_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698