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

Unified Diff: chrome/browser/chrome_web_usb_browser_client.h

Issue 2146663002: Move //components/webusb/ to //chrome/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix variable names Created 4 years, 5 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/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_web_usb_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_web_usb_browser_client.h
diff --git a/chrome/browser/chrome_webusb_browser_client.h b/chrome/browser/chrome_web_usb_browser_client.h
similarity index 60%
rename from chrome/browser/chrome_webusb_browser_client.h
rename to chrome/browser/chrome_web_usb_browser_client.h
index 2e8ab4a8751b0fdd1dfd2a9f2e79744c6d5a7d09..56e697c5167ce5bc5d1e1b3623a0fd49f4eefa67 100644
--- a/chrome/browser/chrome_webusb_browser_client.h
+++ b/chrome/browser/chrome_web_usb_browser_client.h
@@ -2,31 +2,29 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROME_WEBUSB_BROWSER_CLIENT_H_
-#define CHROME_BROWSER_CHROME_WEBUSB_BROWSER_CLIENT_H_
+#ifndef CHROME_BROWSER_CHROME_WEB_USB_BROWSER_CLIENT_H_
+#define CHROME_BROWSER_CHROME_WEB_USB_BROWSER_CLIENT_H_
#include "base/macros.h"
-#include "components/webusb/webusb_browser_client.h"
+#include "chrome/browser/usb/web_usb_browser_client.h"
class GURL;
-// Implementation of webusb::WebUsbBrowserClient.
+// Implementation of WebUsbBrowserClient.
// singletons appropriate for use within the Chrome application.
-class ChromeWebUsbBrowserClient : public webusb::WebUsbBrowserClient {
+class ChromeWebUsbBrowserClient : public WebUsbBrowserClient {
jam 2016/07/12 21:08:45 do we still need this abstraction? i see it's used
juncai 2016/07/12 22:28:34 Removed the abstraction. Done.
jam 2016/07/13 16:54:57 The interface is gone, but we still have WebUsbBro
juncai 2016/07/15 17:50:07 Done.
public:
ChromeWebUsbBrowserClient();
~ChromeWebUsbBrowserClient() override;
- // webusb::WebUsbBrowserClient implementation
+ // WebUsbBrowserClient:
void OnDeviceAdded(const base::string16& product_name,
const GURL& landing_page,
const std::string& notification_id) override;
-
- // webusb::WebUsbBrowserClient implementation
void OnDeviceRemoved(const std::string& notification_id) override;
private:
DISALLOW_COPY_AND_ASSIGN(ChromeWebUsbBrowserClient);
};
-#endif // CHROME_BROWSER_CHROME_WEBUSB_BROWSER_CLIENT_H_
+#endif // CHROME_BROWSER_CHROME_WEB_USB_BROWSER_CLIENT_H_
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_web_usb_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698