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

Side by Side Diff: webkit/dom_storage/dom_storage_area.cc

Issue 9347056: Fix up SequencedWorkerPool in preparation for making it a TaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head 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
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | webkit/dom_storage/dom_storage_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/dom_storage/dom_storage_area.h" 5 #include "webkit/dom_storage/dom_storage_area.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h"
8 #include "base/time.h" 9 #include "base/time.h"
10 #include "base/tracked_objects.h"
9 #include "webkit/dom_storage/dom_storage_map.h" 11 #include "webkit/dom_storage/dom_storage_map.h"
10 #include "webkit/dom_storage/dom_storage_namespace.h" 12 #include "webkit/dom_storage/dom_storage_namespace.h"
11 #include "webkit/dom_storage/dom_storage_task_runner.h" 13 #include "webkit/dom_storage/dom_storage_task_runner.h"
12 #include "webkit/dom_storage/dom_storage_types.h" 14 #include "webkit/dom_storage/dom_storage_types.h"
13 #include "webkit/fileapi/file_system_util.h" 15 #include "webkit/fileapi/file_system_util.h"
14 16
15 namespace dom_storage { 17 namespace dom_storage {
16 18
17 DomStorageArea::DomStorageArea( 19 DomStorageArea::DomStorageArea(
18 int64 namespace_id, const GURL& origin, 20 int64 namespace_id, const GURL& origin,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 } 165 }
164 166
165 // static 167 // static
166 FilePath DomStorageArea::DatabaseFileNameFromOrigin(const GURL& origin) { 168 FilePath DomStorageArea::DatabaseFileNameFromOrigin(const GURL& origin) {
167 std::string filename = fileapi::GetOriginIdentifierFromURL(origin) 169 std::string filename = fileapi::GetOriginIdentifierFromURL(origin)
168 + ".localstorage"; 170 + ".localstorage";
169 return FilePath().AppendASCII(filename); 171 return FilePath().AppendASCII(filename);
170 } 172 }
171 173
172 } // namespace dom_storage 174 } // namespace dom_storage
OLDNEW
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | webkit/dom_storage/dom_storage_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698