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

Unified Diff: content/child/thread_safe_sender.h

Issue 17955002: Fix IndexedDB after r208777. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix unittests Created 7 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
« no previous file with comments | « content/child/indexed_db/proxy_webidbfactory_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/thread_safe_sender.h
===================================================================
--- content/child/thread_safe_sender.h (revision 208777)
+++ content/child/thread_safe_sender.h (working copy)
@@ -5,7 +5,9 @@
#ifndef CONTENT_CHILD_THREAD_SAFE_SENDER_H_
#define CONTENT_CHILD_THREAD_SAFE_SENDER_H_
+#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
+#include "content/common/content_export.h"
#include "ipc/ipc_sender.h"
namespace base {
@@ -20,7 +22,7 @@
class ChildThread;
// The class of Sender returned by ChildThread::thread_safe_sender().
-class ThreadSafeSender
+class CONTENT_EXPORT ThreadSafeSender
: public IPC::Sender,
public base::RefCountedThreadSafe<ThreadSafeSender> {
public:
@@ -29,6 +31,8 @@
private:
friend class ChildThread; // for construction
friend class base::RefCountedThreadSafe<ThreadSafeSender>;
+ FRIEND_TEST_ALL_PREFIXES(IndexedDBDispatcherTest, ValueSizeTest);
+ FRIEND_TEST_ALL_PREFIXES(RendererWebIDBCursorImplTest, PrefetchTest);
ThreadSafeSender(base::MessageLoopProxy* main_loop,
IPC::SyncMessageFilter* sync_filter);
« no previous file with comments | « content/child/indexed_db/proxy_webidbfactory_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698