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

Unified Diff: webrtc/media/devices/deviceinfo.h

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Disable sign-compare warning on Win Clang Created 4 years, 11 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: webrtc/media/devices/deviceinfo.h
diff --git a/webrtc/base/gunit_prod.h b/webrtc/media/devices/deviceinfo.h
similarity index 52%
copy from webrtc/base/gunit_prod.h
copy to webrtc/media/devices/deviceinfo.h
index dc39bbd0eb8a17c62d0d477276300c7ad1ab9336..ef3ad83c946ccd060d60e941abeb2521325a4610 100644
--- a/webrtc/base/gunit_prod.h
+++ b/webrtc/media/devices/deviceinfo.h
@@ -8,17 +8,18 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_BASE_GUNIT_PROD_H_
-#define WEBRTC_BASE_GUNIT_PROD_H_
+#ifndef WEBRTC_MEDIA_DEVICES_DEVICEINFO_H_
+#define WEBRTC_MEDIA_DEVICES_DEVICEINFO_H_
-#if defined(WEBRTC_ANDROID)
-// Android doesn't use gtest at all, so anything that relies on gtest should
-// check this define first.
-#define NO_GTEST
-#elif defined (GTEST_RELATIVE_PATH)
-#include "gtest/gtest_prod.h"
-#else
-#include "testing/base/gunit_prod.h"
-#endif
+#include <string>
-#endif // WEBRTC_BASE_GUNIT_PROD_H_
+#include "webrtc/media/devices/devicemanager.h"
+
+namespace cricket {
+
+bool GetUsbId(const Device& device, std::string* usb_id);
+bool GetUsbVersion(const Device& device, std::string* usb_version);
+
+} // namespace cricket
+
+#endif // WEBRTC_MEDIA_DEVICES_DEVICEINFO_H_

Powered by Google App Engine
This is Rietveld 408576698