OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // A class to hold the parameters we get back from the | 5 // A class to hold the parameters we get back from the |
6 // ViewHostMsg_DomOperationResponse IPC call. This is used when passing | 6 // ViewHostMsg_DomOperationResponse IPC call. This is used when passing |
7 // parameters through the notification service. | 7 // parameters through the notification service. |
8 | 8 |
9 #ifndef CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ | 9 #ifndef CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ |
10 #define CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ | 10 #define CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ |
11 #pragma once | |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 struct DomOperationNotificationDetails { | 14 struct DomOperationNotificationDetails { |
16 public: | 15 public: |
17 DomOperationNotificationDetails(const std::string& json, int automation_id) | 16 DomOperationNotificationDetails(const std::string& json, int automation_id) |
18 : json(json), automation_id(automation_id) { } | 17 : json(json), automation_id(automation_id) { } |
19 | 18 |
20 std::string json; | 19 std::string json; |
21 int automation_id; | 20 int automation_id; |
22 }; | 21 }; |
23 | 22 |
24 } // namespace content | 23 } // namespace content |
25 | 24 |
26 #endif // CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ | 25 #endif // CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ |
OLD | NEW |