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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 2038843003: bluetooth: Don't call methods of WebContentsImpl while it's being destroyed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove test Created 4 years, 6 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 5d465ef47139619dbbfa2bf9586a4c2c0d899db9..124875ee29ed77843b93d2cc88d5e077c08f627f 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -292,8 +292,6 @@ class CONTENT_EXPORT WebContentsImpl
int GetCapturerCount() const override;
bool IsAudioMuted() const override;
void SetAudioMuted(bool mute) override;
- void IncrementBluetoothConnectedDeviceCount();
- void DecrementBluetoothConnectedDeviceCount();
bool IsConnectedToBluetoothDevice() const override;
bool IsCrashed() const override;
void SetIsCrashed(base::TerminationStatus status, int error_code) override;
@@ -755,6 +753,10 @@ class CONTENT_EXPORT WebContentsImpl
int active_match_ordinal,
bool final_update);
+ // Modify the counter of connected devices for this WebContents.
+ void IncrementBluetoothConnectedDeviceCount();
+ void DecrementBluetoothConnectedDeviceCount();
+
#if defined(OS_ANDROID)
// Called by FindRequestManager when all of the find match rects are in.
void NotifyFindMatchRectsReply(int version,

Powered by Google App Engine
This is Rietveld 408576698