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

Side by Side Diff: chromeos/components/tether/disconnect_tethering_operation.cc

Issue 2915713002: Tether MessageTransferOperation: Only wait for a response from a host for a certain amount of time … (Closed)
Patch Set: Remove useless test method. Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "chromeos/components/tether/disconnect_tethering_operation.h" 5 #include "chromeos/components/tether/disconnect_tethering_operation.h"
6 6
7 #include "chromeos/components/tether/message_wrapper.h" 7 #include "chromeos/components/tether/message_wrapper.h"
8 #include "chromeos/components/tether/proto/tether.pb.h" 8 #include "chromeos/components/tether/proto/tether.pb.h"
9 #include "components/proximity_auth/logging/logging.h" 9 #include "components/proximity_auth/logging/logging.h"
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 } 79 }
80 80
81 void DisconnectTetheringOperation::OnOperationFinished() { 81 void DisconnectTetheringOperation::OnOperationFinished() {
82 NotifyObserversOperationFinished(has_authenticated_); 82 NotifyObserversOperationFinished(has_authenticated_);
83 } 83 }
84 84
85 MessageType DisconnectTetheringOperation::GetMessageTypeForConnection() { 85 MessageType DisconnectTetheringOperation::GetMessageTypeForConnection() {
86 return MessageType::DISCONNECT_TETHERING_REQUEST; 86 return MessageType::DISCONNECT_TETHERING_REQUEST;
87 } 87 }
88 88
89 bool DisconnectTetheringOperation::ShouldWaitForResponse() {
90 return false;
91 }
92
89 } // namespace tether 93 } // namespace tether
90 94
91 } // namespace chromeos 95 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/components/tether/disconnect_tethering_operation.h ('k') | chromeos/components/tether/message_transfer_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698