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

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

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_H_
7 #pragma once
8 7
9 #include <queue> 8 #include <queue>
10 #include <string> 9 #include <string>
11 #include <utility> 10 #include <utility>
12 11
13 #include "base/callback.h" 12 #include "base/callback.h"
14 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
15 #include "chrome/browser/extensions/api/api_resource.h" 14 #include "chrome/browser/extensions/api/api_resource.h"
16 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.h"
17 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 CompletionCallback callback; 101 CompletionCallback callback;
103 int bytes_written; 102 int bytes_written;
104 }; 103 };
105 std::queue<WriteRequest> write_queue_; 104 std::queue<WriteRequest> write_queue_;
106 scoped_refptr<net::IOBuffer> io_buffer_write_; 105 scoped_refptr<net::IOBuffer> io_buffer_write_;
107 }; 106 };
108 107
109 } // namespace extensions 108 } // namespace extensions
110 109
111 #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_H_ 110 #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/serial/serial_port_enumerator.h ('k') | chrome/browser/extensions/api/socket/socket_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698