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

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

Issue 629733002: replace OVERRIDE and FINAL with override and final in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « sync/engine/get_updates_delegate.h ('k') | sync/engine/model_type_sync_worker_impl.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 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 "sync/engine/get_updates_processor.h" 5 #include "sync/engine/get_updates_processor.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "sync/engine/get_updates_delegate.h" 9 #include "sync/engine/get_updates_delegate.h"
10 #include "sync/engine/update_handler.h" 10 #include "sync/engine/update_handler.h"
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 382
383 // Variant of GetUpdatesProcessor test designed to test update application. 383 // Variant of GetUpdatesProcessor test designed to test update application.
384 // 384 //
385 // Maintains two enabled types, but requests that updates be applied for only 385 // Maintains two enabled types, but requests that updates be applied for only
386 // one of them. 386 // one of them.
387 class GetUpdatesProcessorApplyUpdatesTest : public GetUpdatesProcessorTest { 387 class GetUpdatesProcessorApplyUpdatesTest : public GetUpdatesProcessorTest {
388 public: 388 public:
389 GetUpdatesProcessorApplyUpdatesTest() {} 389 GetUpdatesProcessorApplyUpdatesTest() {}
390 virtual ~GetUpdatesProcessorApplyUpdatesTest() {} 390 virtual ~GetUpdatesProcessorApplyUpdatesTest() {}
391 391
392 virtual void SetUp() OVERRIDE { 392 virtual void SetUp() override {
393 bookmarks_handler_ = AddUpdateHandler(BOOKMARKS); 393 bookmarks_handler_ = AddUpdateHandler(BOOKMARKS);
394 autofill_handler_ = AddUpdateHandler(AUTOFILL); 394 autofill_handler_ = AddUpdateHandler(AUTOFILL);
395 } 395 }
396 396
397 ModelTypeSet GetGuTypes() { 397 ModelTypeSet GetGuTypes() {
398 return ModelTypeSet(AUTOFILL); 398 return ModelTypeSet(AUTOFILL);
399 } 399 }
400 400
401 MockUpdateHandler* GetNonAppliedHandler() { 401 MockUpdateHandler* GetNonAppliedHandler() {
402 return bookmarks_handler_; 402 return bookmarks_handler_;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 TEST_F(DownloadUpdatesDebugInfoTest, VerifyCopyOverwrites) { 505 TEST_F(DownloadUpdatesDebugInfoTest, VerifyCopyOverwrites) {
506 sync_pb::DebugInfo debug_info; 506 sync_pb::DebugInfo debug_info;
507 AddDebugEvent(); 507 AddDebugEvent();
508 GetUpdatesProcessor::CopyClientDebugInfo(debug_info_getter(), &debug_info); 508 GetUpdatesProcessor::CopyClientDebugInfo(debug_info_getter(), &debug_info);
509 EXPECT_EQ(1, debug_info.events_size()); 509 EXPECT_EQ(1, debug_info.events_size());
510 GetUpdatesProcessor::CopyClientDebugInfo(debug_info_getter(), &debug_info); 510 GetUpdatesProcessor::CopyClientDebugInfo(debug_info_getter(), &debug_info);
511 EXPECT_EQ(1, debug_info.events_size()); 511 EXPECT_EQ(1, debug_info.events_size());
512 } 512 }
513 513
514 } // namespace syncer 514 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/get_updates_delegate.h ('k') | sync/engine/model_type_sync_worker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698