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

Unified Diff: webkit/dom_storage/dom_storage_task_runner.h

Issue 11088005: Automate more Better Session Restore tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export inner Created 8 years, 2 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 | « webkit/dom_storage/dom_storage_session.h ('k') | webkit/dom_storage/local_storage_database_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_task_runner.h
diff --git a/webkit/dom_storage/dom_storage_task_runner.h b/webkit/dom_storage/dom_storage_task_runner.h
index 165c694b332084841158b3df47531711fcb84796..290e649ef688f45eaa98d2bc7e6bc7d5ac18870f 100644
--- a/webkit/dom_storage/dom_storage_task_runner.h
+++ b/webkit/dom_storage/dom_storage_task_runner.h
@@ -9,6 +9,7 @@
#include "base/sequenced_task_runner.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/time.h"
+#include "webkit/dom_storage/dom_storage_export.h"
namespace base {
class MessageLoopProxy;
@@ -25,7 +26,7 @@ namespace dom_storage {
// TODO(michaeln): Skip tasks for reading during shutdown.
// * Internal tasks related to committing changes to disk are performed as
// shutdown-blocking commit sequence tasks.
-class DomStorageTaskRunner : public base::TaskRunner {
+class DOM_STORAGE_EXPORT DomStorageTaskRunner : public base::TaskRunner {
public:
enum SequenceID {
PRIMARY_SEQUENCE,
@@ -65,7 +66,8 @@ class DomStorageTaskRunner : public base::TaskRunner {
// A derived class used in chromium that utilizes a SequenceWorkerPool
// under dom_storage specific SequenceTokens. The |delayed_task_loop|
// is used to delay scheduling on the worker pool.
-class DomStorageWorkerPoolTaskRunner : public DomStorageTaskRunner {
+class DOM_STORAGE_EXPORT DomStorageWorkerPoolTaskRunner :
+ public DomStorageTaskRunner {
public:
DomStorageWorkerPoolTaskRunner(
base::SequencedWorkerPool* sequenced_worker_pool,
@@ -103,7 +105,8 @@ class DomStorageWorkerPoolTaskRunner : public DomStorageTaskRunner {
// There is no distinction between [non]-shutdown-blocking or
// the primary sequence vs the commit sequence in the mock,
// all tasks are scheduled on |message_loop| with zero delay.
-class MockDomStorageTaskRunner : public DomStorageTaskRunner {
+class DOM_STORAGE_EXPORT MockDomStorageTaskRunner :
+ public DomStorageTaskRunner {
public:
explicit MockDomStorageTaskRunner(base::MessageLoopProxy* message_loop);
« no previous file with comments | « webkit/dom_storage/dom_storage_session.h ('k') | webkit/dom_storage/local_storage_database_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698