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

Unified Diff: chrome/browser/tab_contents/tab_util.h

Issue 6973035: Move download stuff to download tab helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment tweak Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/tab_util.h
diff --git a/chrome/browser/tab_contents/tab_util.h b/chrome/browser/tab_contents/tab_util.h
index 896be7cf81a102796e1fd557ea451d840b1cf20f..225f7bacb7e9d1b715d6418434dbecb4a3623a08 100644
--- a/chrome/browser/tab_contents/tab_util.h
+++ b/chrome/browser/tab_contents/tab_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,14 +7,21 @@
#pragma once
class TabContents;
+class TabContentsWrapper;
namespace tab_util {
// Helper to find the TabContents that originated the given request. Can be
// NULL if the tab has been closed or some other error occurs.
-// Should only be called from the UI thread, since it accesses TabContent.
+// Should only be called from the UI thread, since it accesses TabContents.
TabContents* GetTabContentsByID(int render_process_host_id, int routing_id);
+// Helper to find the TabContentsWrapper that originated the given request. Can
+// be NULL if the tab has been closed or some other error occurs. Should only
+// be called from the UI thread, since it accesses TabContents.
+TabContentsWrapper* GetTabContentsWrapperByID(int render_process_host_id,
+ int routing_id);
+
} // namespace tab_util
#endif // CHROME_BROWSER_TAB_CONTENTS_TAB_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698