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

Unified Diff: chrome/renderer/safe_browsing/test_utils.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/safe_browsing/test_utils.h ('k') | chrome/renderer/safe_browsing/threat_dom_details.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/safe_browsing/test_utils.cc
diff --git a/chrome/renderer/safe_browsing/test_utils.cc b/chrome/renderer/safe_browsing/test_utils.cc
deleted file mode 100644
index b3d8f9b507414b4a824b8585ce2f06ad1efd9cbf..0000000000000000000000000000000000000000
--- a/chrome/renderer/safe_browsing/test_utils.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/renderer/safe_browsing/test_utils.h"
-
-#include <map>
-#include <string>
-
-#include "chrome/renderer/safe_browsing/features.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace safe_browsing {
-
-void ExpectFeatureMapsAreEqual(const FeatureMap& first,
- const FeatureMap& second) {
- std::map<std::string, double> sorted_first(first.features().begin(),
- first.features().end());
- std::map<std::string, double> sorted_second(second.features().begin(),
- second.features().end());
- EXPECT_THAT(sorted_first, testing::ContainerEq(sorted_second));
-}
-
-} // namespace safe_browsing
« no previous file with comments | « chrome/renderer/safe_browsing/test_utils.h ('k') | chrome/renderer/safe_browsing/threat_dom_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698