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

Unified Diff: components/machine_intelligence/ranker_model_unittest.cc

Issue 2925733002: Move ranker_model_loader to a new component. (Closed)
Patch Set: Adressing sdefresne's comments. Created 3 years, 6 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
Index: components/machine_intelligence/ranker_model_unittest.cc
diff --git a/components/translate/core/browser/ranker_model_unittest.cc b/components/machine_intelligence/ranker_model_unittest.cc
similarity index 94%
rename from components/translate/core/browser/ranker_model_unittest.cc
rename to components/machine_intelligence/ranker_model_unittest.cc
index 83bab0b38e60e721e7ac3fdc9865f24e31dcce24..64e43fbfe462c6049750bfa2218424ba7c3d7c06 100644
--- a/components/translate/core/browser/ranker_model_unittest.cc
+++ b/components/machine_intelligence/ranker_model_unittest.cc
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/translate/core/browser/ranker_model.h"
+#include "components/machine_intelligence/ranker_model.h"
#include <memory>
#include "base/memory/ptr_util.h"
#include "base/time/time.h"
-#include "components/translate/core/browser/proto/ranker_model.pb.h"
+#include "components/machine_intelligence/proto/ranker_model.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
-using chrome_intelligence::RankerModel;
+using machine_intelligence::RankerModel;
const char kModelURL[] = "https://some.url.net/model";
« no previous file with comments | « components/machine_intelligence/ranker_model_loader_unittest.cc ('k') | components/machine_intelligence/ranker_url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698