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

Side by Side Diff: chrome/browser/chrome_webusb_browser_client.h

Issue 1289423002: Add webusb notification UI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated gn file Created 5 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROME_WEBUSB_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_WEBUSB_BROWSER_CLIENT_H_
7
8 #include "components/webusb/webusb_browser_client.h"
9
10 class GURL;
11 class Profile;
12
13 // Implementation of webusb::WebUsbBrowserClient.
14 // singletons appropriate for use within the Chrome application.
15 class ChromeWebUsbBrowserClient : public webusb::WebUsbBrowserClient {
16 public:
17 ChromeWebUsbBrowserClient();
18 ~ChromeWebUsbBrowserClient() override;
19
20 // webusb::WebUsbBrowserClient implementation
21 void OpenURL(Profile* profile, const GURL& url) override;
22
23 // webusb::WebUsbBrowserClient implementation
24 bool WebUsbNotificationEnabled() override;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ChromeWebUsbBrowserClient);
28 };
29
30 #endif // CHROME_BROWSER_CHROME_WEBUSB_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698