summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 00:07:06 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 00:07:06 +0000
commitc1e4bff3d7cfd8c386a9cd002b4bbe505233b39c (patch)
tree599e0c175319d4c40e1fd695c9ecd55b3a4f9d55 /base
parent98e72142d06252169a27570cf448639889c66dc6 (diff)
downloadchromium_src-c1e4bff3d7cfd8c386a9cd002b4bbe505233b39c.zip
chromium_src-c1e4bff3d7cfd8c386a9cd002b4bbe505233b39c.tar.gz
chromium_src-c1e4bff3d7cfd8c386a9cd002b4bbe505233b39c.tar.bz2
Add thread checks to the IPC channel.
Almost every method of the IPC channel must be invoked from a single thread. This adds the corresponding DCHECKS, and should confirm bug 6489 as a cause of flakiness on the UI tests. BUG: 6489. Review URL: http://codereview.chromium.org/19617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8837 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/non_thread_safe.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/base/non_thread_safe.h b/base/non_thread_safe.h
index 2791fe0..a0ba759 100644
--- a/base/non_thread_safe.h
+++ b/base/non_thread_safe.h
@@ -32,7 +32,6 @@ class NonThreadSafe {
NonThreadSafe();
~NonThreadSafe();
- protected:
bool CalledOnValidThread() const;
private:
@@ -45,7 +44,6 @@ class NonThreadSafe {
NonThreadSafe() {}
~NonThreadSafe() {}
- protected:
bool CalledOnValidThread() const {
return true;
}