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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/app_launcher_login_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/prerender/prerender_contents.h" 5 #include "chrome/browser/prerender/prerender_contents.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <functional> 10 #include <functional>
(...skipping 28 matching lines...) Expand all
39 #include "content/public/browser/render_widget_host.h" 39 #include "content/public/browser/render_widget_host.h"
40 #include "content/public/browser/resource_request_details.h" 40 #include "content/public/browser/resource_request_details.h"
41 #include "content/public/browser/session_storage_namespace.h" 41 #include "content/public/browser/session_storage_namespace.h"
42 #include "content/public/browser/web_contents.h" 42 #include "content/public/browser/web_contents.h"
43 #include "content/public/browser/web_contents_delegate.h" 43 #include "content/public/browser/web_contents_delegate.h"
44 #include "content/public/common/frame_navigate_params.h" 44 #include "content/public/common/frame_navigate_params.h"
45 #include "ui/base/page_transition_types.h" 45 #include "ui/base/page_transition_types.h"
46 #include "ui/gfx/geometry/size.h" 46 #include "ui/gfx/geometry/size.h"
47 47
48 using content::BrowserThread; 48 using content::BrowserThread;
49 using content::DownloadItem;
50 using content::OpenURLParams; 49 using content::OpenURLParams;
51 using content::RenderViewHost; 50 using content::RenderViewHost;
52 using content::ResourceRedirectDetails; 51 using content::ResourceRedirectDetails;
53 using content::ResourceType; 52 using content::ResourceType;
54 using content::SessionStorageNamespace; 53 using content::SessionStorageNamespace;
55 using content::WebContents; 54 using content::WebContents;
56 55
57 namespace prerender { 56 namespace prerender {
58 57
59 namespace { 58 namespace {
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 void PrerenderContents::AddResourceThrottle( 752 void PrerenderContents::AddResourceThrottle(
754 const base::WeakPtr<PrerenderResourceThrottle>& throttle) { 753 const base::WeakPtr<PrerenderResourceThrottle>& throttle) {
755 resource_throttles_.push_back(throttle); 754 resource_throttles_.push_back(throttle);
756 } 755 }
757 756
758 void PrerenderContents::AddNetworkBytes(int64_t bytes) { 757 void PrerenderContents::AddNetworkBytes(int64_t bytes) {
759 network_bytes_ += bytes; 758 network_bytes_ += bytes;
760 } 759 }
761 760
762 } // namespace prerender 761 } // namespace prerender
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/app_launcher_login_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698