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

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

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // Sets the final status, calls OnDestroy and adds |this| to the 157 // Sets the final status, calls OnDestroy and adds |this| to the
158 // PrerenderManager's pending deletes list. 158 // PrerenderManager's pending deletes list.
159 void Destroy(FinalStatus reason); 159 void Destroy(FinalStatus reason);
160 160
161 // Applies all the URL history encountered during prerendering to the 161 // Applies all the URL history encountered during prerendering to the
162 // new tab. 162 // new tab.
163 void CommitHistory(TabContentsWrapper* tab); 163 void CommitHistory(TabContentsWrapper* tab);
164 164
165 int32 starting_page_id() { return starting_page_id_; } 165 int32 starting_page_id() { return starting_page_id_; }
166 166
167 Value* GetAsValue() const; 167 base::Value* GetAsValue() const;
168 168
169 protected: 169 protected:
170 PrerenderContents(PrerenderManager* prerender_manager, 170 PrerenderContents(PrerenderManager* prerender_manager,
171 PrerenderTracker* prerender_tracker, 171 PrerenderTracker* prerender_tracker,
172 Profile* profile, 172 Profile* profile,
173 const GURL& url, 173 const GURL& url,
174 const GURL& referrer, 174 const GURL& referrer,
175 Origin origin, 175 Origin origin,
176 uint8 experiment_id); 176 uint8 experiment_id);
177 177
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 284
285 // Offset by which to offset prerendered pages 285 // Offset by which to offset prerendered pages
286 static const int32 kPrerenderPageIdOffset = 10; 286 static const int32 kPrerenderPageIdOffset = 10;
287 287
288 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 288 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
289 }; 289 };
290 290
291 } // namespace prerender 291 } // namespace prerender
292 292
293 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 293 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/value_map_pref_store.h ('k') | chrome/browser/prerender/prerender_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698