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

Side by Side Diff: chrome/browser/sync/engine/process_commit_response_command_unittest.cc

Issue 7879006: Delete Tracked, and move Location to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <vector> 5 #include <vector>
6 6
7 #include "base/location.h"
7 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
8 #include "base/tracked.h"
9 #include "chrome/browser/sync/engine/mock_model_safe_workers.h" 9 #include "chrome/browser/sync/engine/mock_model_safe_workers.h"
10 #include "chrome/browser/sync/engine/process_commit_response_command.h" 10 #include "chrome/browser/sync/engine/process_commit_response_command.h"
11 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h" 11 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h"
12 #include "chrome/browser/sync/protocol/sync.pb.h" 12 #include "chrome/browser/sync/protocol/sync.pb.h"
13 #include "chrome/browser/sync/sessions/sync_session.h" 13 #include "chrome/browser/sync/sessions/sync_session.h"
14 #include "chrome/browser/sync/syncable/directory_manager.h" 14 #include "chrome/browser/sync/syncable/directory_manager.h"
15 #include "chrome/browser/sync/syncable/syncable.h" 15 #include "chrome/browser/sync/syncable/syncable.h"
16 #include "chrome/browser/sync/syncable/syncable_id.h" 16 #include "chrome/browser/sync/syncable/syncable_id.h"
17 #include "chrome/browser/sync/test/engine/syncer_command_test.h" 17 #include "chrome/browser/sync/test/engine/syncer_command_test.h"
18 #include "chrome/browser/sync/test/engine/test_id_factory.h" 18 #include "chrome/browser/sync/test/engine/test_id_factory.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 EXPECT_EQ(2049U, final_monitor_records["ABC"].bookmark_write_count); 431 EXPECT_EQ(2049U, final_monitor_records["ABC"].bookmark_write_count);
432 EXPECT_EQ(4U, final_monitor_records["xyz"].bookmark_write_count); 432 EXPECT_EQ(4U, final_monitor_records["xyz"].bookmark_write_count);
433 } else { 433 } else {
434 EXPECT_TRUE(final_monitor_records.empty()) 434 EXPECT_TRUE(final_monitor_records.empty())
435 << "Should not restore records after successful bookmark commit."; 435 << "Should not restore records after successful bookmark commit.";
436 } 436 }
437 } 437 }
438 438
439 439
440 } // namespace browser_sync 440 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/process_commit_response_command.cc ('k') | chrome/browser/sync/engine/process_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698