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

Unified Diff: mojo/cc/context_provider_mojo.h

Issue 1317743002: cc: Implement shared worker contexts. (v1) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tear down Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_widget.cc ('k') | mojo/cc/context_provider_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/cc/context_provider_mojo.h
diff --git a/mojo/cc/context_provider_mojo.h b/mojo/cc/context_provider_mojo.h
index cc465d06837aed9675186a170cec67500d1a97f4..1eaa6a5803309f232c7db3bd30356736252d7347 100644
--- a/mojo/cc/context_provider_mojo.h
+++ b/mojo/cc/context_provider_mojo.h
@@ -29,12 +29,13 @@ class ContextProviderMojo : public cc::ContextProvider {
Capabilities ContextCapabilities() override;
void VerifyContexts() override {}
void DeleteCachedResources() override {}
- bool DestroyedOnMainThread() override;
+ bool HasBeenLostOnMainThread() override;
void SetLostContextCallback(
const LostContextCallback& lost_context_callback) override {}
void SetMemoryPolicyChangedCallback(
const MemoryPolicyChangedCallback& memory_policy_changed_callback)
override {}
+ bool HasBeenDestroyed() override;
protected:
friend class base::RefCountedThreadSafe<ContextProviderMojo>;
« no previous file with comments | « content/renderer/render_widget.cc ('k') | mojo/cc/context_provider_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698