OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_FRAME_CHROME_PROTOCOL_H_ | 5 #ifndef CHROME_FRAME_CHROME_PROTOCOL_H_ |
6 #define CHROME_FRAME_CHROME_PROTOCOL_H_ | 6 #define CHROME_FRAME_CHROME_PROTOCOL_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
| 10 |
| 11 #include "base/win/atlcheck.h" |
10 #include "chrome_frame/resource.h" | 12 #include "chrome_frame/resource.h" |
11 #include "grit/chrome_frame_resources.h" | 13 #include "grit/chrome_frame_resources.h" |
12 | 14 |
13 // Include without path to make GYP build see it. | 15 // Include without path to make GYP build see it. |
14 #include "chrome_tab.h" // NOLINT | 16 #include "chrome_tab.h" // NOLINT |
15 | 17 |
16 // ChromeProtocol | 18 // ChromeProtocol |
17 class ATL_NO_VTABLE ChromeProtocol | 19 class ATL_NO_VTABLE ChromeProtocol |
18 : public CComObjectRootEx<CComSingleThreadModel>, | 20 : public CComObjectRootEx<CComSingleThreadModel>, |
19 public CComCoClass<ChromeProtocol, &CLSID_ChromeProtocol>, | 21 public CComCoClass<ChromeProtocol, &CLSID_ChromeProtocol>, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ULONG buffer_size_in_bytes, | 56 ULONG buffer_size_in_bytes, |
55 ULONG* bytes_read); | 57 ULONG* bytes_read); |
56 STDMETHOD(Seek)(LARGE_INTEGER move_by, | 58 STDMETHOD(Seek)(LARGE_INTEGER move_by, |
57 DWORD origin, | 59 DWORD origin, |
58 ULARGE_INTEGER* new_position); | 60 ULARGE_INTEGER* new_position); |
59 STDMETHOD(LockRequest)(DWORD options); | 61 STDMETHOD(LockRequest)(DWORD options); |
60 STDMETHOD(UnlockRequest)(void); | 62 STDMETHOD(UnlockRequest)(void); |
61 }; | 63 }; |
62 | 64 |
63 #endif // CHROME_FRAME_CHROME_PROTOCOL_H_ | 65 #endif // CHROME_FRAME_CHROME_PROTOCOL_H_ |
OLD | NEW |