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

Side by Side Diff: remoting/host/it2me/it2me_confirmation_dialog_proxy.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/it2me/it2me_confirmation_dialog_proxy.h ('k') | remoting/host/it2me/it2me_host.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 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 #include "remoting/host/it2me/it2me_confirmation_dialog_proxy.h" 5 #include "remoting/host/it2me/it2me_confirmation_dialog_proxy.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/macros.h"
10 #include "base/thread_task_runner_handle.h" 11 #include "base/thread_task_runner_handle.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 14
14 class It2MeConfirmationDialogProxy::Core { 15 class It2MeConfirmationDialogProxy::Core {
15 public: 16 public:
16 Core(scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 17 Core(scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
17 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 18 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
18 base::WeakPtr<It2MeConfirmationDialogProxy> parent, 19 base::WeakPtr<It2MeConfirmationDialogProxy> parent,
19 scoped_ptr<It2MeConfirmationDialog> dialog); 20 scoped_ptr<It2MeConfirmationDialog> dialog);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 base::Unretained(core_.get()))); 98 base::Unretained(core_.get())));
98 } 99 }
99 100
100 void It2MeConfirmationDialogProxy::ReportResult( 101 void It2MeConfirmationDialogProxy::ReportResult(
101 It2MeConfirmationDialog::Result result) { 102 It2MeConfirmationDialog::Result result) {
102 DCHECK(core_->caller_task_runner()->BelongsToCurrentThread()); 103 DCHECK(core_->caller_task_runner()->BelongsToCurrentThread());
103 base::ResetAndReturn(&callback_).Run(result); 104 base::ResetAndReturn(&callback_).Run(result);
104 } 105 }
105 106
106 } // namespace remoting 107 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/it2me/it2me_confirmation_dialog_proxy.h ('k') | remoting/host/it2me/it2me_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698