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

Unified Diff: components/usb_service/usb_context_unittest.cc

Issue 236203019: Move UsbService to its own component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move usb_service component symbols into usb_service namespace Created 6 years, 8 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/usb_service/usb_context.cc ('k') | components/usb_service/usb_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/usb_service/usb_context_unittest.cc
diff --git a/chrome/browser/usb/usb_context_unittest.cc b/components/usb_service/usb_context_unittest.cc
similarity index 92%
rename from chrome/browser/usb/usb_context_unittest.cc
rename to components/usb_service/usb_context_unittest.cc
index dce79f43e88c95549a62ee52c5a1393802dfdb60..f2850d4c848c8c7ec12b90f57d957273237572de 100644
--- a/chrome/browser/usb/usb_context_unittest.cc
+++ b/components/usb_service/usb_context_unittest.cc
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/usb/usb_context.h"
-
#include "base/threading/platform_thread.h"
#include "build/build_config.h"
+#include "components/usb_service/usb_context.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libusb/src/libusb/libusb.h"
+using usb_service::UsbContext;
+using usb_service::PlatformUsbContext;
+
namespace {
class UsbContextTest : public testing::Test {
@@ -17,6 +19,7 @@ class UsbContextTest : public testing::Test {
public:
explicit UsbContextForTest(PlatformUsbContext context)
: UsbContext(context) {}
+
private:
virtual ~UsbContextForTest() {}
DISALLOW_COPY_AND_ASSIGN(UsbContextForTest);
« no previous file with comments | « components/usb_service/usb_context.cc ('k') | components/usb_service/usb_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698