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

Side by Side Diff: chrome/browser/extensions/api/serial/serial_api.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_SERIAL_SERIAL_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
12 #include "chrome/browser/extensions/api/api_function.h" 11 #include "chrome/browser/extensions/api/api_function.h"
13 #include "chrome/common/extensions/api/experimental_serial.h" 12 #include "chrome/common/extensions/api/experimental_serial.h"
14 #include "net/base/io_buffer.h" 13 #include "net/base/io_buffer.h"
15 14
16 namespace extensions { 15 namespace extensions {
17 16
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual void Work() OVERRIDE; 127 virtual void Work() OVERRIDE;
129 virtual bool Respond() OVERRIDE; 128 virtual bool Respond() OVERRIDE;
130 129
131 private: 130 private:
132 scoped_ptr<api::experimental_serial::Flush::Params> params_; 131 scoped_ptr<api::experimental_serial::Flush::Params> params_;
133 }; 132 };
134 133
135 } // namespace extensions 134 } // namespace extensions
136 135
137 #endif // CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_ 136 #endif // CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/runtime/runtime_api.h ('k') | chrome/browser/extensions/api/serial/serial_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698