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

Side by Side Diff: chrome/browser/extensions/api/socket/socket_api.h

Issue 10272021: Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor changes Created 8 years, 7 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 (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 #ifndef CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/extensions/api/api_function.h" 10 #include "chrome/browser/extensions/api/api_function.h"
11 #include "chrome/common/extensions/api/experimental.socket.h" 11 #include "chrome/common/extensions/api/experimental_socket.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 13
14 #include <string> 14 #include <string>
15 15
16 namespace extensions { 16 namespace extensions {
17 17
18 class APIResourceController; 18 class APIResourceController;
19 class APIResourceEventNotifier; 19 class APIResourceEventNotifier;
20 20
21 extern const char kBytesWrittenKey[]; 21 extern const char kBytesWrittenKey[];
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 int socket_id_; 197 int socket_id_;
198 scoped_refptr<net::IOBuffer> io_buffer_; 198 scoped_refptr<net::IOBuffer> io_buffer_;
199 size_t io_buffer_size_; 199 size_t io_buffer_size_;
200 std::string address_; 200 std::string address_;
201 int port_; 201 int port_;
202 }; 202 };
203 203
204 } // namespace extensions 204 } // namespace extensions
205 205
206 #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ 206 #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/dns/dns_api.cc ('k') | chrome/browser/extensions/api/usb/usb_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698