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

Side by Side Diff: components/safe_browsing/renderer/test_utils.h

Issue 2667343006: Componentize safe_browsing [X+1] : move the renderer part to component.
Patch Set: Created 3 years, 10 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 (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 #ifndef CHROME_RENDERER_SAFE_BROWSING_TEST_UTILS_H_ 5 #ifndef COMPONENTS_SAFE_BROWSING_RENDERER_TEST_UTILS_H_
6 #define CHROME_RENDERER_SAFE_BROWSING_TEST_UTILS_H_ 6 #define COMPONENTS_SAFE_BROWSING_RENDERER_TEST_UTILS_H_
7 7
8 namespace safe_browsing { 8 namespace safe_browsing {
9 class FeatureMap; 9 class FeatureMap;
10 10
11 // Compares two FeatureMap objects using gMock. Always use this instead of 11 // Compares two FeatureMap objects using gMock. Always use this instead of
12 // operator== or ContainerEq, since hash_map's equality operator may return 12 // operator== or ContainerEq, since hash_map's equality operator may return
13 // false if the elements were inserted in different orders. 13 // false if the elements were inserted in different orders.
14 void ExpectFeatureMapsAreEqual(const FeatureMap& first, 14 void ExpectFeatureMapsAreEqual(const FeatureMap& first,
15 const FeatureMap& second); 15 const FeatureMap& second);
16 16
17 } // namespace safe_browsing 17 } // namespace safe_browsing
18 18
19 #endif // CHROME_RENDERER_SAFE_BROWSING_TEST_UTILS_H_ 19 #endif // COMPONENTS_SAFE_BROWSING_RENDERER_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « components/safe_browsing/renderer/scorer_unittest.cc ('k') | components/safe_browsing/renderer/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698