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

Unified Diff: chrome/browser/sync/engine/download_updates_command.h

Issue 9453036: [Sync] Remove --create-mobile-bookmarks-folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 10 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 | « chrome/browser/sync/engine/DEPS ('k') | chrome/browser/sync/engine/download_updates_command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/download_updates_command.h
diff --git a/chrome/browser/sync/engine/download_updates_command.h b/chrome/browser/sync/engine/download_updates_command.h
index 3b12c714aa7fff42df0f1376dd6873eaa3f1169a..6494ecb39bb6f2f8622bafcb719f02d3e1a13e85 100644
--- a/chrome/browser/sync/engine/download_updates_command.h
+++ b/chrome/browser/sync/engine/download_updates_command.h
@@ -40,7 +40,10 @@ namespace browser_sync {
// is encountered.
class DownloadUpdatesCommand : public SyncerCommand {
public:
- DownloadUpdatesCommand();
+ // |create_mobile_bookmarks_folder| controls whether or not to
+ // create the mobile bookmarks folder if it's not already created.
+ // Should be set to true only by mobile clients.
+ explicit DownloadUpdatesCommand(bool create_mobile_bookmarks_folder);
virtual ~DownloadUpdatesCommand();
// SyncerCommand implementation.
@@ -50,6 +53,9 @@ class DownloadUpdatesCommand : public SyncerCommand {
FRIEND_TEST_ALL_PREFIXES(DownloadUpdatesCommandTest, VerifyAppendDebugInfo);
void AppendClientDebugInfoIfNeeded(sessions::SyncSession* session,
sync_pb::DebugInfo* debug_info);
+
+ const bool create_mobile_bookmarks_folder_;
+
DISALLOW_COPY_AND_ASSIGN(DownloadUpdatesCommand);
};
« no previous file with comments | « chrome/browser/sync/engine/DEPS ('k') | chrome/browser/sync/engine/download_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698