Reland debugging for ipc related crash.
[chromium-blink-merge.git] / content / child / sync_load_response.h
blob918bdeba9c4ae55a51645eb1e6bf291294daa5e6
1 // Copyright 2014 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.
5 #ifndef CONTENT_CHILD_SYNC_LOAD_RESPONSE_H_
6 #define CONTENT_CHILD_SYNC_LOAD_RESPONSE_H_
8 #include <string>
10 #include "content/public/common/resource_response_info.h"
11 #include "url/gurl.h"
13 namespace content {
15 // See the SyncLoad method. (The name of this struct is not
16 // suffixed with "Info" because it also contains the response data.)
17 struct SyncLoadResponse : ResourceResponseInfo {
18 SyncLoadResponse();
19 ~SyncLoadResponse();
21 // The response error code.
22 int error_code;
24 // The final URL of the response. This may differ from the request URL in
25 // the case of a server redirect.
26 GURL url;
28 // The response data.
29 std::string data;
32 } // namespace content
34 #endif // CONTENT_CHILD_SYNC_LOAD_RESPONSE_H_