OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |