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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
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 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 26 matching lines...) Expand all
37 class SessionStorageNamespace; 37 class SessionStorageNamespace;
38 class WebContents; 38 class WebContents;
39 } 39 }
40 40
41 namespace history { 41 namespace history {
42 struct HistoryAddPageArgs; 42 struct HistoryAddPageArgs;
43 } 43 }
44 44
45 namespace prerender { 45 namespace prerender {
46 46
47 class PrerenderHandle;
48 class PrerenderManager; 47 class PrerenderManager;
49 class PrerenderResourceThrottle; 48 class PrerenderResourceThrottle;
50 49
51 class PrerenderContents : public content::NotificationObserver, 50 class PrerenderContents : public content::NotificationObserver,
52 public content::WebContentsObserver { 51 public content::WebContentsObserver {
53 public: 52 public:
54 // PrerenderContents::Create uses the currently registered Factory to create 53 // PrerenderContents::Create uses the currently registered Factory to create
55 // the PrerenderContents. Factory is intended for testing. 54 // the PrerenderContents. Factory is intended for testing.
56 class Factory { 55 class Factory {
57 public: 56 public:
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // A running tally of the number of bytes this prerender has caused to be 366 // A running tally of the number of bytes this prerender has caused to be
368 // transferred over the network for resources. Updated with AddNetworkBytes. 367 // transferred over the network for resources. Updated with AddNetworkBytes.
369 int64_t network_bytes_; 368 int64_t network_bytes_;
370 369
371 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 370 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
372 }; 371 };
373 372
374 } // namespace prerender 373 } // namespace prerender
375 374
376 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 375 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/profile_pref_store_manager.h ('k') | chrome/browser/prerender/prerender_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698