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

Unified Diff: chrome/browser/android/tab_android.h

Issue 2833213002: DevTools: retain DTAH in all the targets to match their life time. (Closed)
Patch Set: cast test Created 3 years, 8 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
« no previous file with comments | « chrome/browser/android/devtools_manager_delegate_android.cc ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index befaaaf92fdb0d97a836778ebfa721ee2ca51cfd..dea06a60d1c4ac2817d8249ec8d09f9c38b855a1 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -41,6 +41,7 @@ class TabContentManager;
}
namespace content {
+class DevToolsAgentHost;
class WebContents;
}
@@ -252,6 +253,10 @@ class TabAndroid : public CoreTabHelperDelegate,
bool ShouldEnableEmbeddedMediaExperience() const;
+ scoped_refptr<content::DevToolsAgentHost> GetDevToolsAgentHost();
+
+ void SetDevToolsAgentHost(scoped_refptr<content::DevToolsAgentHost> host);
+
// Register the Tab's native methods through JNI.
static bool RegisterTabAndroid(JNIEnv* env);
@@ -274,7 +279,7 @@ class TabAndroid : public CoreTabHelperDelegate,
std::unique_ptr<content::WebContents> web_contents_;
std::unique_ptr<android::TabWebContentsDelegateAndroid>
web_contents_delegate_;
-
+ scoped_refptr<content::DevToolsAgentHost> devtools_host_;
std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
std::string webapp_manifest_scope_;
« no previous file with comments | « chrome/browser/android/devtools_manager_delegate_android.cc ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698