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

Unified Diff: content/public/browser/gpu_data_manager_observer.h

Issue 14981007: Refactor GpuDataManagerImpl to make it thread-safe. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_data_manager_observer.h
===================================================================
--- content/public/browser/gpu_data_manager_observer.h (revision 199846)
+++ content/public/browser/gpu_data_manager_observer.h (working copy)
@@ -35,6 +35,9 @@
// Called for any observer when the GPU process crashed.
virtual void OnGpuProcessCrashed(base::TerminationStatus exit_code) {}
+ // Called for any observer when the system switches to a different GPU.
+ virtual void OnGpuSwitching() {}
+
protected:
virtual ~GpuDataManagerObserver() {}
};
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698