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

Side by Side Diff: sync/engine/download_updates_command_unittest.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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
« no previous file with comments | « sync/engine/download_updates_command.cc ('k') | sync/engine/get_commit_ids_command.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/sync/engine/download_updates_command.h" 5 #include "sync/engine/download_updates_command.h"
6 #include "chrome/browser/sync/test/engine/fake_model_worker.h"
7 #include "chrome/browser/sync/test/engine/syncer_command_test.h"
8 #include "sync/protocol/autofill_specifics.pb.h" 6 #include "sync/protocol/autofill_specifics.pb.h"
9 #include "sync/protocol/bookmark_specifics.pb.h" 7 #include "sync/protocol/bookmark_specifics.pb.h"
10 #include "sync/protocol/preference_specifics.pb.h" 8 #include "sync/protocol/preference_specifics.pb.h"
11 #include "sync/protocol/sync.pb.h" 9 #include "sync/protocol/sync.pb.h"
10 #include "sync/test/engine/fake_model_worker.h"
11 #include "sync/test/engine/syncer_command_test.h"
12 12
13 using ::testing::_; 13 using ::testing::_;
14 namespace browser_sync { 14 namespace browser_sync {
15 15
16 using syncable::FIRST_REAL_MODEL_TYPE; 16 using syncable::FIRST_REAL_MODEL_TYPE;
17 using syncable::MODEL_TYPE_COUNT; 17 using syncable::MODEL_TYPE_COUNT;
18 18
19 // A test fixture for tests exercising DownloadUpdatesCommandTest. 19 // A test fixture for tests exercising DownloadUpdatesCommandTest.
20 class DownloadUpdatesCommandTest : public SyncerCommandTest { 20 class DownloadUpdatesCommandTest : public SyncerCommandTest {
21 protected: 21 protected:
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 EXPECT_CALL(*(mock_debug_info_getter()), GetAndClearDebugInfo(_)) 65 EXPECT_CALL(*(mock_debug_info_getter()), GetAndClearDebugInfo(_))
66 .Times(1); 66 .Times(1);
67 command_.AppendClientDebugInfoIfNeeded(session(), &debug_info); 67 command_.AppendClientDebugInfoIfNeeded(session(), &debug_info);
68 68
69 // Now try to add it once more and make sure |GetAndClearDebugInfo| is not 69 // Now try to add it once more and make sure |GetAndClearDebugInfo| is not
70 // called. 70 // called.
71 command_.AppendClientDebugInfoIfNeeded(session(), &debug_info); 71 command_.AppendClientDebugInfoIfNeeded(session(), &debug_info);
72 } 72 }
73 73
74 } // namespace browser_sync 74 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/engine/download_updates_command.cc ('k') | sync/engine/get_commit_ids_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698