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

Unified Diff: content/child/thread_safe_sender.h

Issue 1017013002: ServiceWorker: Add ServiceWorkerDispatcherTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/child/thread_safe_sender.h
diff --git a/content/child/thread_safe_sender.h b/content/child/thread_safe_sender.h
index 37ad96bfbf4ed8b16c1b13dd36f43fc546fa05fd..f42188b95da6438d44525b4997478714fec8d4d2 100644
--- a/content/child/thread_safe_sender.h
+++ b/content/child/thread_safe_sender.h
@@ -28,6 +28,10 @@ class CONTENT_EXPORT ThreadSafeSender
public:
bool Send(IPC::Message* msg) override;
+ protected:
+ ThreadSafeSender(); // for testing
nasko 2015/03/18 22:21:44 nit: I'd put the comment above and expand it to ex
nhiroki 2015/03/18 23:14:37 Agree. And it'd be far better that implementation
+ ~ThreadSafeSender() override;
+
private:
friend class ChildThreadImpl; // for construction
friend class IndexedDBDispatcherTest;
@@ -36,7 +40,6 @@ class CONTENT_EXPORT ThreadSafeSender
ThreadSafeSender(const scoped_refptr<base::MessageLoopProxy>& main_loop,
const scoped_refptr<IPC::SyncMessageFilter>& sync_filter);
- ~ThreadSafeSender() override;
scoped_refptr<base::MessageLoopProxy> main_loop_;
scoped_refptr<IPC::SyncMessageFilter> sync_filter_;

Powered by Google App Engine
This is Rietveld 408576698