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

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

Issue 9726023: Revert 127575 - Revert 127573 - DOMStorageContextImpl that's implemented in terms of the new dom_st… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:mergeinfo
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_new.h" 5 #include "content/browser/dom_storage/dom_storage_context_impl_new.h"
6 6
7 #ifdef ENABLE_NEW_DOM_STORAGE_BACKEND 7 #ifdef ENABLE_NEW_DOM_STORAGE_BACKEND
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 DCHECK(context_); 165 DCHECK(context_);
166 int64 clone_id = context_->AllocateSessionId(); 166 int64 clone_id = context_->AllocateSessionId();
167 context_->task_runner()->PostTask( 167 context_->task_runner()->PostTask(
168 FROM_HERE, 168 FROM_HERE,
169 base::Bind(&DomStorageContext::CloneSessionNamespace, context_, 169 base::Bind(&DomStorageContext::CloneSessionNamespace, context_,
170 existing_namespace_id, clone_id)); 170 existing_namespace_id, clone_id));
171 return clone_id; 171 return clone_id;
172 } 172 }
173 173
174 #endif // ENABLE_NEW_DOM_STORAGE_BACKEND 174 #endif // ENABLE_NEW_DOM_STORAGE_BACKEND
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698