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

Side by Side Diff: chrome/browser/renderer_host/pepper/pepper_flash_drm_host.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 15 matching lines...) Expand all
26 class PepperFlashDRMHost : public ppapi::host::ResourceHost { 26 class PepperFlashDRMHost : public ppapi::host::ResourceHost {
27 public: 27 public:
28 PepperFlashDRMHost(content::BrowserPpapiHost* host, 28 PepperFlashDRMHost(content::BrowserPpapiHost* host,
29 PP_Instance instance, 29 PP_Instance instance,
30 PP_Resource resource); 30 PP_Resource resource);
31 virtual ~PepperFlashDRMHost(); 31 virtual ~PepperFlashDRMHost();
32 32
33 // ResourceHost override. 33 // ResourceHost override.
34 virtual int32_t OnResourceMessageReceived( 34 virtual int32_t OnResourceMessageReceived(
35 const IPC::Message& msg, 35 const IPC::Message& msg,
36 ppapi::host::HostMessageContext* context) OVERRIDE; 36 ppapi::host::HostMessageContext* context) override;
37 37
38 private: 38 private:
39 // IPC message handler. 39 // IPC message handler.
40 int32_t OnHostMsgGetDeviceID(ppapi::host::HostMessageContext* context); 40 int32_t OnHostMsgGetDeviceID(ppapi::host::HostMessageContext* context);
41 int32_t OnHostMsgGetHmonitor(ppapi::host::HostMessageContext* context); 41 int32_t OnHostMsgGetHmonitor(ppapi::host::HostMessageContext* context);
42 int32_t OnHostMsgMonitorIsExternal(ppapi::host::HostMessageContext* context); 42 int32_t OnHostMsgMonitorIsExternal(ppapi::host::HostMessageContext* context);
43 43
44 // Called by the fetcher when the device ID was retrieved, or the empty string 44 // Called by the fetcher when the device ID was retrieved, or the empty string
45 // on error. 45 // on error.
46 void GotDeviceID(ppapi::host::ReplyMessageContext reply_context, 46 void GotDeviceID(ppapi::host::ReplyMessageContext reply_context,
47 const std::string& id, 47 const std::string& id,
48 int32_t result); 48 int32_t result);
49 49
50 scoped_refptr<DeviceIDFetcher> fetcher_; 50 scoped_refptr<DeviceIDFetcher> fetcher_;
51 scoped_refptr<MonitorFinder> monitor_finder_; 51 scoped_refptr<MonitorFinder> monitor_finder_;
52 52
53 base::WeakPtrFactory<PepperFlashDRMHost> weak_factory_; 53 base::WeakPtrFactory<PepperFlashDRMHost> weak_factory_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(PepperFlashDRMHost); 55 DISALLOW_COPY_AND_ASSIGN(PepperFlashDRMHost);
56 }; 56 };
57 57
58 } // namespace chrome 58 } // namespace chrome
59 59
60 #endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_ 60 #endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698