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 3 // found in the LICENSE file. 4 // 5 // A class to hold the parameters we get back from the 6 // ViewHostMsg_DomOperationResponse IPC call. This is used when passing 7 // parameters through the notification service. 8 9 #ifndef CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ 10 #define CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ 11 12 namespace content { 13 14 struct DomOperationNotificationDetails { 15 public: DomOperationNotificationDetailsDomOperationNotificationDetails16 DomOperationNotificationDetails(const std::string& json, int automation_id) 17 : json(json), automation_id(automation_id) { } 18 19 std::string json; 20 int automation_id; 21 }; 22 23 } // namespace content 24 25 #endif // CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_ 26