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

Side by Side Diff: extensions/browser/api/usb/usb_device_resource.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_BROWSER_API_USB_USB_DEVICE_RESOURCE_H_ 5 #ifndef EXTENSIONS_BROWSER_API_USB_USB_DEVICE_RESOURCE_H_
6 #define EXTENSIONS_BROWSER_API_USB_USB_DEVICE_RESOURCE_H_ 6 #define EXTENSIONS_BROWSER_API_USB_USB_DEVICE_RESOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 15 matching lines...) Expand all
26 public: 26 public:
27 static const content::BrowserThread::ID kThreadId = 27 static const content::BrowserThread::ID kThreadId =
28 content::BrowserThread::FILE; 28 content::BrowserThread::FILE;
29 29
30 UsbDeviceResource(const std::string& owner_extension_id, 30 UsbDeviceResource(const std::string& owner_extension_id,
31 scoped_refptr<device::UsbDeviceHandle> device); 31 scoped_refptr<device::UsbDeviceHandle> device);
32 virtual ~UsbDeviceResource(); 32 virtual ~UsbDeviceResource();
33 33
34 scoped_refptr<device::UsbDeviceHandle> device() { return device_; } 34 scoped_refptr<device::UsbDeviceHandle> device() { return device_; }
35 35
36 virtual bool IsPersistent() const OVERRIDE; 36 virtual bool IsPersistent() const override;
37 37
38 private: 38 private:
39 friend class ApiResourceManager<UsbDeviceResource>; 39 friend class ApiResourceManager<UsbDeviceResource>;
40 static const char* service_name() { return "UsbDeviceResourceManager"; } 40 static const char* service_name() { return "UsbDeviceResourceManager"; }
41 41
42 scoped_refptr<device::UsbDeviceHandle> device_; 42 scoped_refptr<device::UsbDeviceHandle> device_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(UsbDeviceResource); 44 DISALLOW_COPY_AND_ASSIGN(UsbDeviceResource);
45 }; 45 };
46 46
47 } // namespace extensions 47 } // namespace extensions
48 48
49 #endif // EXTENSIONS_BROWSER_API_USB_USB_DEVICE_RESOURCE_H_ 49 #endif // EXTENSIONS_BROWSER_API_USB_USB_DEVICE_RESOURCE_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/usb/usb_apitest.cc ('k') | extensions/browser/api/web_request/form_data_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698