summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authormsarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-18 17:17:33 +0000
committermsarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-18 17:17:33 +0000
commitafecfb73fdbca719e3a861b3255e68f2c3ef8780 (patch)
treed10462f24aae74062803c782ae05cfbf6819bd41 /base/base.gypi
parentac68e24b25c6578e131ba420abeeebddfb7bca0c (diff)
downloadchromium_src-afecfb73fdbca719e3a861b3255e68f2c3ef8780.zip
chromium_src-afecfb73fdbca719e3a861b3255e68f2c3ef8780.tar.gz
chromium_src-afecfb73fdbca719e3a861b3255e68f2c3ef8780.tar.bz2
Delay bookmarks load while the profile is loading.
This CL adds a new DeferredSequencedtaskRunner that queues up tasks until a first call to Start is issued. It creates such a task runner for the execution of bookmarks I/O operations. At profile creation, the bookmarks task runner is stopped and its execution is started after the profile has finished loading. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/12952005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index f26c4c7..164aa23 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -137,6 +137,8 @@
'debug/trace_event_impl.cc',
'debug/trace_event_impl.h',
'debug/trace_event_win.cc',
+ 'deferred_sequenced_task_runner.cc',
+ 'deferred_sequenced_task_runner.h',
'environment.cc',
'environment.h',
'file_descriptor_posix.h',