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

Side by Side Diff: components/sync_driver/generic_change_processor_unittest.cc

Issue 1380693004: [Sync] Fixing sync_driver lint violations and adding PRESUBMIT lint check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cross
Patch Set: Removing lint fixes for revisit files, removing revisit patch dep. Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/sync_driver/generic_change_processor.h" 5 #include "components/sync_driver/generic_change_processor.h"
6 6
7 #include <string>
8
7 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
8 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
9 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 12 #include "base/run_loop.h"
11 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
12 #include "components/sync_driver/data_type_error_handler_mock.h" 14 #include "components/sync_driver/data_type_error_handler_mock.h"
13 #include "components/sync_driver/fake_sync_client.h" 15 #include "components/sync_driver/fake_sync_client.h"
14 #include "components/sync_driver/local_device_info_provider.h" 16 #include "components/sync_driver/local_device_info_provider.h"
15 #include "components/sync_driver/sync_api_component_factory.h" 17 #include "components/sync_driver/sync_api_component_factory.h"
16 #include "sync/api/attachments/attachment_id.h" 18 #include "sync/api/attachments/attachment_id.h"
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 syncer::SyncDataList sync_data = 539 syncer::SyncDataList sync_data =
538 change_processor()->GetAllSyncData(syncer::SESSIONS); 540 change_processor()->GetAllSyncData(syncer::SESSIONS);
539 ASSERT_EQ(sync_data.size(), 1U); 541 ASSERT_EQ(sync_data.size(), 1U);
540 ASSERT_EQ("session tag 2", 542 ASSERT_EQ("session tag 2",
541 sync_data[0].GetSpecifics().session().session_tag()); 543 sync_data[0].GetSpecifics().session().session_tag());
542 } 544 }
543 545
544 } // namespace 546 } // namespace
545 547
546 } // namespace sync_driver 548 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/generic_change_processor.cc ('k') | components/sync_driver/glue/typed_url_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698