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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents.h

Issue 10914323: Switch LoadTimeStatsTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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_UI_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 namespace captive_portal { 84 namespace captive_portal {
85 class CaptivePortalTabHelper; 85 class CaptivePortalTabHelper;
86 } 86 }
87 87
88 namespace chrome { 88 namespace chrome {
89 namespace search { 89 namespace search {
90 class SearchTabHelper; 90 class SearchTabHelper;
91 } 91 }
92 } 92 }
93 93
94 namespace chrome_browser_net {
95 class LoadTimeStatsTabHelper;
96 }
97
98 namespace chromeos { 94 namespace chromeos {
99 class SimpleWebViewDialog; 95 class SimpleWebViewDialog;
100 class WebUILoginView; 96 class WebUILoginView;
101 } 97 }
102 98
103 namespace extensions { 99 namespace extensions {
104 class WebAuthFlow; 100 class WebAuthFlow;
105 class WebNavigationTabObserver; 101 class WebNavigationTabObserver;
106 } 102 }
107 103
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // (These provide API for callers and have a getter function listed in the 310 // (These provide API for callers and have a getter function listed in the
315 // "Tab Helpers" section in the member functions area, above.) 311 // "Tab Helpers" section in the member functions area, above.)
316 312
317 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; 313 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_;
318 scoped_refptr<AutofillManager> autofill_manager_; 314 scoped_refptr<AutofillManager> autofill_manager_;
319 scoped_ptr<TabAutofillManagerDelegate> autofill_delegate_; 315 scoped_ptr<TabAutofillManagerDelegate> autofill_delegate_;
320 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; 316 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_;
321 scoped_ptr<AutomationTabHelper> automation_tab_helper_; 317 scoped_ptr<AutomationTabHelper> automation_tab_helper_;
322 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; 318 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_;
323 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; 319 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_;
324 scoped_ptr<chrome_browser_net::LoadTimeStatsTabHelper>
325 load_time_stats_tab_helper_;
326 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 320 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
327 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; 321 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_;
328 #endif 322 #endif
329 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; 323 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_;
330 scoped_ptr<CoreTabHelper> core_tab_helper_; 324 scoped_ptr<CoreTabHelper> core_tab_helper_;
331 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; 325 scoped_ptr<FaviconTabHelper> favicon_tab_helper_;
332 scoped_ptr<FindTabHelper> find_tab_helper_; 326 scoped_ptr<FindTabHelper> find_tab_helper_;
333 scoped_ptr<HistoryTabHelper> history_tab_helper_; 327 scoped_ptr<HistoryTabHelper> history_tab_helper_;
334 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; 328 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_;
335 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_; 329 scoped_ptr<InfoBarTabHelper> infobar_tab_helper_;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 381
388 // The supporting objects need to outlive the WebContents dtor (as they may 382 // The supporting objects need to outlive the WebContents dtor (as they may
389 // be called upon during its execution). As a result, this must come last 383 // be called upon during its execution). As a result, this must come last
390 // in the list. 384 // in the list.
391 scoped_ptr<content::WebContents> web_contents_; 385 scoped_ptr<content::WebContents> web_contents_;
392 386
393 DISALLOW_COPY_AND_ASSIGN(TabContents); 387 DISALLOW_COPY_AND_ASSIGN(TabContents);
394 }; 388 };
395 389
396 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ 390 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698