Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / renderer / safe_browsing / test_utils.h
blobcbe2061c161db6583e412ed0d9758071dbbbb7a0
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
3 // found in the LICENSE file.
5 #ifndef CHROME_RENDERER_SAFE_BROWSING_TEST_UTILS_H_
6 #define CHROME_RENDERER_SAFE_BROWSING_TEST_UTILS_H_
8 namespace safe_browsing {
9 class FeatureMap;
11 // Compares two FeatureMap objects using gMock. Always use this instead of
12 // operator== or ContainerEq, since hash_map's equality operator may return
13 // false if the elements were inserted in different orders.
14 void ExpectFeatureMapsAreEqual(const FeatureMap& first,
15 const FeatureMap& second);
17 } // namespace safe_browsing
19 #endif // CHROME_RENDERER_SAFE_BROWSING_TEST_UTILS_H_