Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: chrome/common/render_messages_params.h

Issue 6369003: New extension API: "tab.socketAddress" (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COMMON_RENDER_MESSAGES_PARAMS_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // (this can happen if the resource was insecure). 293 // (this can happen if the resource was insecure).
294 bool is_content_filtered; 294 bool is_content_filtered;
295 295
296 // Whether the frame navigation resulted in no change to the documents within 296 // Whether the frame navigation resulted in no change to the documents within
297 // the page. For example, the navigation may have just resulted in scrolling 297 // the page. For example, the navigation may have just resulted in scrolling
298 // to a named anchor. 298 // to a named anchor.
299 bool was_within_same_page; 299 bool was_within_same_page;
300 300
301 // The status code of the HTTP request. 301 // The status code of the HTTP request.
302 int http_status_code; 302 int http_status_code;
303
304 // Remote address of the socket which fetched this resource, for presenting
305 // to inquisitive users. Can be "ipv4:port", "[ipv6]:port", or empty.
306 std::string socket_address;
303 }; 307 };
304 308
305 // Values that may be OR'd together to form the 'flags' parameter of a 309 // Values that may be OR'd together to form the 'flags' parameter of a
306 // ViewHostMsg_UpdateRect_Params structure. 310 // ViewHostMsg_UpdateRect_Params structure.
307 struct ViewHostMsg_UpdateRect_Flags { 311 struct ViewHostMsg_UpdateRect_Flags {
308 enum { 312 enum {
309 IS_RESIZE_ACK = 1 << 0, 313 IS_RESIZE_ACK = 1 << 0,
310 IS_RESTORE_ACK = 1 << 1, 314 IS_RESTORE_ACK = 1 << 1,
311 IS_REPAINT_ACK = 1 << 2, 315 IS_REPAINT_ACK = 1 << 2,
312 }; 316 };
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { 1139 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> {
1136 typedef ViewHostMsg_AccessibilityNotification_Params param_type; 1140 typedef ViewHostMsg_AccessibilityNotification_Params param_type;
1137 static void Write(Message* m, const param_type& p); 1141 static void Write(Message* m, const param_type& p);
1138 static bool Read(const Message* m, void** iter, param_type* p); 1142 static bool Read(const Message* m, void** iter, param_type* p);
1139 static void Log(const param_type& p, std::string* l); 1143 static void Log(const param_type& p, std::string* l);
1140 }; 1144 };
1141 1145
1142 } // namespace IPC 1146 } // namespace IPC
1143 1147
1144 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1148 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698