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

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

Issue 6247013: Don't load plugins on prerendered pages until the pages are displayed.... (Closed) Base URL: svn://svn.chromium.org/chrome/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 #include "chrome/common/render_messages_params.h" 5 #include "chrome/common/render_messages_params.h"
6 6
7 #include "chrome/common/navigation_gesture.h" 7 #include "chrome/common/navigation_gesture.h"
8 #include "chrome/common/common_param_traits.h" 8 #include "chrome/common/common_param_traits.h"
9 #include "chrome/common/render_messages.h" 9 #include "chrome/common/render_messages.h"
10 #include "net/base/upload_data.h" 10 #include "net/base/upload_data.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 break; 309 break;
310 310
311 case ViewMsg_Navigate_Params::RELOAD_IGNORING_CACHE: 311 case ViewMsg_Navigate_Params::RELOAD_IGNORING_CACHE:
312 event = "NavigationType_RELOAD_IGNORING_CACHE"; 312 event = "NavigationType_RELOAD_IGNORING_CACHE";
313 break; 313 break;
314 314
315 case ViewMsg_Navigate_Params::RESTORE: 315 case ViewMsg_Navigate_Params::RESTORE:
316 event = "NavigationType_RESTORE"; 316 event = "NavigationType_RESTORE";
317 break; 317 break;
318 318
319 case ViewMsg_Navigate_Params::PRERENDER:
320 event = "NavigationType_PRERENDER";
321 break;
322
319 case ViewMsg_Navigate_Params::NORMAL: 323 case ViewMsg_Navigate_Params::NORMAL:
320 event = "NavigationType_NORMA"; 324 event = "NavigationType_NORMA";
321 break; 325 break;
322 326
323 default: 327 default:
324 event = "NavigationType_UNKNOWN"; 328 event = "NavigationType_UNKNOWN";
325 break; 329 break;
326 } 330 }
327 LogParam(event, l); 331 LogParam(event, l);
328 } 332 }
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 const param_type& p, 1610 const param_type& p,
1607 std::string* l) { 1611 std::string* l) {
1608 l->append("("); 1612 l->append("(");
1609 LogParam(p.notification_type, l); 1613 LogParam(p.notification_type, l);
1610 l->append(", "); 1614 l->append(", ");
1611 LogParam(p.acc_obj, l); 1615 LogParam(p.acc_obj, l);
1612 l->append(")"); 1616 l->append(")");
1613 } 1617 }
1614 1618
1615 } // namespace IPC 1619 } // namespace IPC
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698