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

Side by Side Diff: components/invalidation/unacked_invalidation_set_test_util.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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
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/invalidation/unacked_invalidation_set_test_util.h" 5 #include "components/invalidation/unacked_invalidation_set_test_util.h"
6 6
7 #include "base/json/json_string_value_serializer.h" 7 #include "base/json/json_string_value_serializer.h"
8 #include "components/invalidation/object_id_invalidation_map.h" 8 #include "components/invalidation/object_id_invalidation_map.h"
9 #include "testing/gmock/include/gmock/gmock-matchers.h" 9 #include "testing/gmock/include/gmock/gmock-matchers.h"
10 10
(...skipping 12 matching lines...) Expand all
23 // to the UnackedInvalidationSet internals to implement its comparispon 23 // to the UnackedInvalidationSet internals to implement its comparispon
24 // function. 24 // function.
25 class UnackedInvalidationSetEqMatcher 25 class UnackedInvalidationSetEqMatcher
26 : public testing::MatcherInterface<const UnackedInvalidationSet&> { 26 : public testing::MatcherInterface<const UnackedInvalidationSet&> {
27 public: 27 public:
28 explicit UnackedInvalidationSetEqMatcher( 28 explicit UnackedInvalidationSetEqMatcher(
29 const UnackedInvalidationSet& expected); 29 const UnackedInvalidationSet& expected);
30 30
31 virtual bool MatchAndExplain( 31 virtual bool MatchAndExplain(
32 const UnackedInvalidationSet& actual, 32 const UnackedInvalidationSet& actual,
33 MatchResultListener* listener) const OVERRIDE; 33 MatchResultListener* listener) const override;
34 virtual void DescribeTo(::std::ostream* os) const OVERRIDE; 34 virtual void DescribeTo(::std::ostream* os) const override;
35 virtual void DescribeNegationTo(::std::ostream* os) const OVERRIDE; 35 virtual void DescribeNegationTo(::std::ostream* os) const override;
36 36
37 private: 37 private:
38 const UnackedInvalidationSet expected_; 38 const UnackedInvalidationSet expected_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(UnackedInvalidationSetEqMatcher); 40 DISALLOW_COPY_AND_ASSIGN(UnackedInvalidationSetEqMatcher);
41 }; 41 };
42 42
43 namespace { 43 namespace {
44 44
45 struct InvalidationEq { 45 struct InvalidationEq {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 } 174 }
175 175
176 Matcher<const UnackedInvalidationsMap&> Eq( 176 Matcher<const UnackedInvalidationsMap&> Eq(
177 const UnackedInvalidationsMap& expected) { 177 const UnackedInvalidationsMap& expected) {
178 return MakeMatcher(new UnackedInvalidationsMapEqMatcher(expected)); 178 return MakeMatcher(new UnackedInvalidationsMapEqMatcher(expected));
179 } 179 }
180 180
181 } // namespace test_util 181 } // namespace test_util
182 182
183 }; 183 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698