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

Side by Side Diff: ppapi/shared_impl/ppb_tcp_socket_shared.h

Issue 1221073004: Enable clang warning for ignored attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 PPAPI_SHARED_IMPL_PPB_TCP_SOCKET_SHARED_H_ 5 #ifndef PPAPI_SHARED_IMPL_PPB_TCP_SOCKET_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPB_TCP_SOCKET_SHARED_H_ 6 #define PPAPI_SHARED_IMPL_PPB_TCP_SOCKET_SHARED_H_
7 7
8 #include "ppapi/shared_impl/ppapi_shared_export.h" 8 #include "ppapi/shared_impl/ppapi_shared_export.h"
9 9
10 namespace ppapi { 10 namespace ppapi {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 bool IsConnected() const; 47 bool IsConnected() const;
48 bool IsBound() const; 48 bool IsBound() const;
49 49
50 private: 50 private:
51 StateType state_; 51 StateType state_;
52 TransitionType pending_transition_; 52 TransitionType pending_transition_;
53 }; 53 };
54 54
55 // TCP socket API versions. 55 // TCP socket API versions.
56 enum PPAPI_SHARED_EXPORT TCPSocketVersion { 56 enum TCPSocketVersion {
57 // PPB_TCPSocket_Private. 57 // PPB_TCPSocket_Private.
58 TCP_SOCKET_VERSION_PRIVATE, 58 TCP_SOCKET_VERSION_PRIVATE,
59 // PPB_TCPSocket v1.0. 59 // PPB_TCPSocket v1.0.
60 TCP_SOCKET_VERSION_1_0, 60 TCP_SOCKET_VERSION_1_0,
61 // PPB_TCPSocket v1.1 or above. 61 // PPB_TCPSocket v1.1 or above.
62 TCP_SOCKET_VERSION_1_1_OR_ABOVE 62 TCP_SOCKET_VERSION_1_1_OR_ABOVE
63 }; 63 };
64 64
65 } // namespace ppapi 65 } // namespace ppapi
66 66
67 #endif // PPAPI_SHARED_IMPL_PPB_TCP_SOCKET_SHARED_H_ 67 #endif // PPAPI_SHARED_IMPL_PPB_TCP_SOCKET_SHARED_H_
OLDNEW
« no previous file with comments | « net/base/registry_controlled_domains/registry_controlled_domain.h ('k') | sync/internal_api/public/shutdown_reason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698