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

Side by Side Diff: remoting/host/desktop_session_agent.cc

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (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
« no previous file with comments | « remoting/host/desktop_session_agent.h ('k') | remoting/host/desktop_session_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "remoting/host/desktop_session_agent.h" 5 #include "remoting/host/desktop_session_agent.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "ipc/ipc_channel_proxy.h" 10 #include "ipc/ipc_channel_proxy.h"
(...skipping 25 matching lines...) Expand all
36 36
37 // Routes local clipboard events though the IPC channel to the network process. 37 // Routes local clipboard events though the IPC channel to the network process.
38 class DesktopSesssionClipboardStub : public protocol::ClipboardStub { 38 class DesktopSesssionClipboardStub : public protocol::ClipboardStub {
39 public: 39 public:
40 explicit DesktopSesssionClipboardStub( 40 explicit DesktopSesssionClipboardStub(
41 scoped_refptr<DesktopSessionAgent> desktop_session_agent); 41 scoped_refptr<DesktopSessionAgent> desktop_session_agent);
42 virtual ~DesktopSesssionClipboardStub(); 42 virtual ~DesktopSesssionClipboardStub();
43 43
44 // protocol::ClipboardStub implementation. 44 // protocol::ClipboardStub implementation.
45 virtual void InjectClipboardEvent( 45 virtual void InjectClipboardEvent(
46 const protocol::ClipboardEvent& event) OVERRIDE; 46 const protocol::ClipboardEvent& event) override;
47 47
48 private: 48 private:
49 scoped_refptr<DesktopSessionAgent> desktop_session_agent_; 49 scoped_refptr<DesktopSessionAgent> desktop_session_agent_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(DesktopSesssionClipboardStub); 51 DISALLOW_COPY_AND_ASSIGN(DesktopSesssionClipboardStub);
52 }; 52 };
53 53
54 DesktopSesssionClipboardStub::DesktopSesssionClipboardStub( 54 DesktopSesssionClipboardStub::DesktopSesssionClipboardStub(
55 scoped_refptr<DesktopSessionAgent> desktop_session_agent) 55 scoped_refptr<DesktopSessionAgent> desktop_session_agent)
56 : desktop_session_agent_(desktop_session_agent) { 56 : desktop_session_agent_(desktop_session_agent) {
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 void DesktopSessionAgent::OnSharedBufferDeleted(int id) { 582 void DesktopSessionAgent::OnSharedBufferDeleted(int id) {
583 DCHECK(video_capture_task_runner_->BelongsToCurrentThread()); 583 DCHECK(video_capture_task_runner_->BelongsToCurrentThread());
584 DCHECK(id != 0); 584 DCHECK(id != 0);
585 585
586 shared_buffers_--; 586 shared_buffers_--;
587 DCHECK_GE(shared_buffers_, 0); 587 DCHECK_GE(shared_buffers_, 0);
588 SendToNetwork(new ChromotingDesktopNetworkMsg_ReleaseSharedBuffer(id)); 588 SendToNetwork(new ChromotingDesktopNetworkMsg_ReleaseSharedBuffer(id));
589 } 589 }
590 590
591 } // namespace remoting 591 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_agent.h ('k') | remoting/host/desktop_session_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698