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

Side by Side Diff: remoting/protocol/jingle_session.cc

Issue 1547603004: Include <utility> in files that use std::move() in remoting/protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_host
Patch Set: Created 5 years 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) 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/protocol/jingle_session.h" 5 #include "remoting/protocol/jingle_session.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <utility>
10 11
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/rand_util.h" 13 #include "base/rand_util.h"
13 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
14 #include "base/stl_util.h" 15 #include "base/stl_util.h"
15 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
16 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
17 #include "base/time/time.h" 18 #include "base/time/time.h"
18 #include "remoting/base/constants.h" 19 #include "remoting/base/constants.h"
19 #include "remoting/protocol/authenticator.h" 20 #include "remoting/protocol/authenticator.h"
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 } 603 }
603 } 604 }
604 605
605 bool JingleSession::is_session_active() { 606 bool JingleSession::is_session_active() {
606 return state_ == CONNECTING || state_ == ACCEPTING || state_ == ACCEPTED || 607 return state_ == CONNECTING || state_ == ACCEPTING || state_ == ACCEPTED ||
607 state_ == AUTHENTICATING || state_ == AUTHENTICATED; 608 state_ == AUTHENTICATING || state_ == AUTHENTICATED;
608 } 609 }
609 610
610 } // namespace protocol 611 } // namespace protocol
611 } // namespace remoting 612 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/ice_transport_unittest.cc ('k') | remoting/protocol/jingle_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698