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

Side by Side Diff: extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h

Issue 820673004: json_schema_compiler: Use std::vector<char> for binary values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify_json_schema
Patch Set: Fix merge error. Created 5 years, 11 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 EXTENSIONS_BROWSER_API_SOCKETS_TCP_TCP_SOCKET_EVENT_DISPATCHER_H_ 5 #ifndef EXTENSIONS_BROWSER_API_SOCKETS_TCP_TCP_SOCKET_EVENT_DISPATCHER_H_
6 #define EXTENSIONS_BROWSER_API_SOCKETS_TCP_TCP_SOCKET_EVENT_DISPATCHER_H_ 6 #define EXTENSIONS_BROWSER_API_SOCKETS_TCP_TCP_SOCKET_EVENT_DISPATCHER_H_
7 7
8 #include <string>
9
8 #include "extensions/browser/api/api_resource_manager.h" 10 #include "extensions/browser/api/api_resource_manager.h"
9 #include "extensions/browser/api/sockets_tcp/sockets_tcp_api.h" 11 #include "extensions/browser/api/sockets_tcp/sockets_tcp_api.h"
10 12
11 namespace content { 13 namespace content {
12 class BrowserContext; 14 class BrowserContext;
13 } 15 }
14 16
15 namespace extensions { 17 namespace extensions {
16 struct Event; 18 struct Event;
17 class ResumableTCPSocket; 19 class ResumableTCPSocket;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Usually IO thread (except for unit testing). 87 // Usually IO thread (except for unit testing).
86 content::BrowserThread::ID thread_id_; 88 content::BrowserThread::ID thread_id_;
87 content::BrowserContext* const browser_context_; 89 content::BrowserContext* const browser_context_;
88 scoped_refptr<SocketData> sockets_; 90 scoped_refptr<SocketData> sockets_;
89 }; 91 };
90 92
91 } // namespace core_api 93 } // namespace core_api
92 } // namespace extensions 94 } // namespace extensions
93 95
94 #endif // EXTENSIONS_BROWSER_API_SOCKETS_TCP_TCP_SOCKET_EVENT_DISPATCHER_H_ 96 #endif // EXTENSIONS_BROWSER_API_SOCKETS_TCP_TCP_SOCKET_EVENT_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698