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

Unified Diff: components/arc/intent_helper/font_size_util_unittest.cc

Issue 1843563003: Move arc_intent_helper_bridge.h from c/b/chromeos/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address a comment Created 4 years, 9 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 | « components/arc/intent_helper/font_size_util.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/intent_helper/font_size_util_unittest.cc
diff --git a/chrome/browser/chromeos/arc/settings_bridge_unittest.cc b/components/arc/intent_helper/font_size_util_unittest.cc
similarity index 87%
rename from chrome/browser/chromeos/arc/settings_bridge_unittest.cc
rename to components/arc/intent_helper/font_size_util_unittest.cc
index a89f77d48e02ebbd913c40dc0f46727612015737..31cbd60dffb8b3d7891495d38ef036cbb82e4a86 100644
--- a/chrome/browser/chromeos/arc/settings_bridge_unittest.cc
+++ b/components/arc/intent_helper/font_size_util_unittest.cc
@@ -1,16 +1,14 @@
-// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 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/browser/chromeos/arc/settings_bridge.h"
+#include "components/arc/intent_helper/font_size_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace arc {
-namespace fontsizes {
-
-TEST(SettingsBridgeTest, FontSizeConvertChromeToAndroid) {
+TEST(ArcSettingsServiceTest, FontSizeConvertChromeToAndroid) {
// Does not return a value smaller than Small.
EXPECT_DOUBLE_EQ(kAndroidFontScaleSmall,
ConvertFontSizeChromeToAndroid(0, 0, 0));
@@ -48,6 +46,4 @@ TEST(SettingsBridgeTest, FontSizeConvertChromeToAndroid) {
ConvertFontSizeChromeToAndroid(24, 0, 0));
}
-} // namespace fontsizes
-
} // namespace arc
« no previous file with comments | « components/arc/intent_helper/font_size_util.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698