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

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

Issue 1094553002: Revert "Speculative revert by sheriff" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: sync/test/fake_server/bookmark_entity_builder.h
diff --git a/sync/test/fake_server/bookmark_entity_builder.h b/sync/test/fake_server/bookmark_entity_builder.h
index 62c7169e6c59c78c507455def6615606aac8f8f8..b7f897e04a3995f31f9168c34ae6db5a2f6bfdb4 100644
--- a/sync/test/fake_server/bookmark_entity_builder.h
+++ b/sync/test/fake_server/bookmark_entity_builder.h
@@ -25,6 +25,10 @@ class BookmarkEntityBuilder : public EntityBuilder {
~BookmarkEntityBuilder() override;
+ // Sets the parend ID of the bookmark to be built. If this is not called,
+ // the bookmark will be included in the bookmarks bar.
+ void SetParentId(const std::string& parent_id);
+
// EntityBuilder
scoped_ptr<FakeServerEntity> Build() override;
@@ -33,6 +37,9 @@ class BookmarkEntityBuilder : public EntityBuilder {
GURL url_;
std::string originator_cache_guid_;
std::string originator_client_item_id_;
+
+ // The ID of the parent bookmark folder.
+ std::string parent_id_;
};
} // namespace fake_server
« no previous file with comments | « sync/test/fake_server/android/fake_server_helper_android.cc ('k') | sync/test/fake_server/bookmark_entity_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698