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

Side by Side Diff: chrome/browser/prerender/prerender_contents.h

Issue 9416031: Prerendered pages are swapped in at browser::Navigate time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Base files missing Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 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 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_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 331
332 // Origin for this prerender. 332 // Origin for this prerender.
333 Origin origin_; 333 Origin origin_;
334 334
335 // Experiment during which this prerender is performed. 335 // Experiment during which this prerender is performed.
336 uint8 experiment_id_; 336 uint8 experiment_id_;
337 337
338 // List of all pages the prerendered page has tried to prerender. 338 // List of all pages the prerendered page has tried to prerender.
339 PendingPrerenderList pending_prerender_list_; 339 PendingPrerenderList pending_prerender_list_;
340 340
341 // The process that created the child id.
342 int creator_child_id_;
343
341 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 344 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
342 }; 345 };
343 346
344 } // namespace prerender 347 } // namespace prerender
345 348
346 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 349 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698