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

Side by Side Diff: blimp/helium/lazy_syncable_adapter_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "blimp/helium/lazy_syncable_adapter.h" 5 #include "blimp/helium/lazy_syncable_adapter.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ptr_util.h"
10 #include "blimp/helium/helium_test.h" 11 #include "blimp/helium/helium_test.h"
11 #include "blimp/helium/mock_objects.h" 12 #include "blimp/helium/mock_objects.h"
12 #include "blimp/helium/serializable_struct.h" 13 #include "blimp/helium/serializable_struct.h"
13 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 using testing::_; 17 using testing::_;
17 using testing::DoAll; 18 using testing::DoAll;
18 using testing::Return; 19 using testing::Return;
19 using testing::SaveArg; 20 using testing::SaveArg;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 TestSyncableChangeset apply_changeset; 94 TestSyncableChangeset apply_changeset;
94 EXPECT_CALL(syncable_, ApplyChangeset(_)) 95 EXPECT_CALL(syncable_, ApplyChangeset(_))
95 .WillOnce(SaveArg<0>(&apply_changeset)); 96 .WillOnce(SaveArg<0>(&apply_changeset));
96 adapter_.ApplyChangeset(*string_changeset); 97 adapter_.ApplyChangeset(*string_changeset);
97 EXPECT_EQ(33, apply_changeset.value()); 98 EXPECT_EQ(33, apply_changeset.value());
98 } 99 }
99 100
100 } // namespace 101 } // namespace
101 } // namespace helium 102 } // namespace helium
102 } // namespace blimp 103 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/renderer/blob_channel_sender_proxy_unittest.cc ('k') | blimp/helium/lww_register_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698