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

Side by Side Diff: content/browser/dom_storage/dom_storage_context_impl.cc

Issue 11088005: Automate more Better Session Restore tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nicer api 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/dom_storage/dom_storage_context_impl.h" 5 #include "content/browser/dom_storage/dom_storage_context_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop_proxy.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 base::Bind(&DomStorageContext::SetForceKeepSessionState, context_)); 122 base::Bind(&DomStorageContext::SetForceKeepSessionState, context_));
123 } 123 }
124 124
125 void DOMStorageContextImpl::Shutdown() { 125 void DOMStorageContextImpl::Shutdown() {
126 DCHECK(context_); 126 DCHECK(context_);
127 context_->task_runner()->PostShutdownBlockingTask( 127 context_->task_runner()->PostShutdownBlockingTask(
128 FROM_HERE, 128 FROM_HERE,
129 DomStorageTaskRunner::PRIMARY_SEQUENCE, 129 DomStorageTaskRunner::PRIMARY_SEQUENCE,
130 base::Bind(&DomStorageContext::Shutdown, context_)); 130 base::Bind(&DomStorageContext::Shutdown, context_));
131 } 131 }
132
133 void DOMStorageContextImpl::DisableCommitDelayForTesting() {
sky 2012/10/10 16:45:49 Order doesn't match header.
marja 2012/10/11 11:58:30 Done.
134 DomStorageArea::DisableCommitDelayForTesting();
135 }
OLDNEW
« no previous file with comments | « content/browser/dom_storage/dom_storage_context_impl.h ('k') | content/public/browser/dom_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698