summaryrefslogtreecommitdiffstats
path: root/content/public/browser/dom_operation_notification_details.h
blob: 6d67903dd44b952a63b78aadd1af99d36b7fae98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// A class to hold the parameters we get back from the
// ViewHostMsg_DomOperationResponse IPC call.  This is used when passing
// parameters through the notification service.

#ifndef CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_
#define CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_

namespace content {

struct DomOperationNotificationDetails {
 public:
  DomOperationNotificationDetails(const std::string& json, int automation_id)
    : json(json), automation_id(automation_id) { }

  std::string json;
  int automation_id;
};

}  // namespace content

#endif  // CONTENT_PUBLIC_BROWSER_DOM_OPERATION_NOTIFICATION_DETAILS_H_