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

Side by Side Diff: components/pairing/proto_decoder.h

Issue 1921923002: Convert //components/[o-t]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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 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 #ifndef COMPONENTS_PAIRING_PROTO_DECODER_H_ 5 #ifndef COMPONENTS_PAIRING_PROTO_DECODER_H_
6 #define COMPONENTS_PAIRING_PROTO_DECODER_H_ 6 #define COMPONENTS_PAIRING_PROTO_DECODER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h"
16 #include "components/pairing/message_buffer.h" 15 #include "components/pairing/message_buffer.h"
17 16
18 namespace net { 17 namespace net {
19 class IOBuffer; 18 class IOBuffer;
20 } 19 }
21 20
22 namespace pairing_api { 21 namespace pairing_api {
23 class AddNetwork; 22 class AddNetwork;
24 class CompleteSetup; 23 class CompleteSetup;
25 class ConfigureHost; 24 class ConfigureHost;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 MessageBuffer message_buffer_; 88 MessageBuffer message_buffer_;
90 int next_message_type_; 89 int next_message_type_;
91 int next_message_size_; 90 int next_message_size_;
92 91
93 DISALLOW_COPY_AND_ASSIGN(ProtoDecoder); 92 DISALLOW_COPY_AND_ASSIGN(ProtoDecoder);
94 }; 93 };
95 94
96 } // namespace pairing_chromeos 95 } // namespace pairing_chromeos
97 96
98 #endif // COMPONENTS_PAIRING_PROTO_DECODER_H_ 97 #endif // COMPONENTS_PAIRING_PROTO_DECODER_H_
OLDNEW
« no previous file with comments | « components/pairing/bluetooth_host_pairing_controller.h ('k') | components/pairing/shark_connection_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698