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

Side by Side Diff: content/browser/indexed_db/indexed_db_context_impl.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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/indexed_db/indexed_db_context_impl.h" 5 #include "content/browser/indexed_db/indexed_db_context_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 13 matching lines...) Expand all
24 #include "content/browser/indexed_db/indexed_db_database.h" 24 #include "content/browser/indexed_db/indexed_db_database.h"
25 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" 25 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
26 #include "content/browser/indexed_db/indexed_db_factory_impl.h" 26 #include "content/browser/indexed_db/indexed_db_factory_impl.h"
27 #include "content/browser/indexed_db/indexed_db_quota_client.h" 27 #include "content/browser/indexed_db/indexed_db_quota_client.h"
28 #include "content/browser/indexed_db/indexed_db_tracing.h" 28 #include "content/browser/indexed_db/indexed_db_tracing.h"
29 #include "content/browser/indexed_db/indexed_db_transaction.h" 29 #include "content/browser/indexed_db/indexed_db_transaction.h"
30 #include "content/public/browser/browser_thread.h" 30 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/indexed_db_info.h" 31 #include "content/public/browser/indexed_db_info.h"
32 #include "content/public/common/content_switches.h" 32 #include "content/public/common/content_switches.h"
33 #include "ui/base/text/bytes_formatting.h" 33 #include "ui/base/text/bytes_formatting.h"
34 #include "webkit/browser/database/database_util.h" 34 #include "storage/browser/database/database_util.h"
35 #include "webkit/browser/quota/quota_manager_proxy.h" 35 #include "storage/browser/quota/quota_manager_proxy.h"
36 #include "webkit/browser/quota/special_storage_policy.h" 36 #include "storage/browser/quota/special_storage_policy.h"
37 #include "webkit/common/database/database_identifier.h" 37 #include "storage/common/database/database_identifier.h"
38 38
39 using base::DictionaryValue; 39 using base::DictionaryValue;
40 using base::ListValue; 40 using base::ListValue;
41 using webkit_database::DatabaseUtil; 41 using webkit_database::DatabaseUtil;
42 42
43 namespace content { 43 namespace content {
44 const base::FilePath::CharType IndexedDBContextImpl::kIndexedDBDirectory[] = 44 const base::FilePath::CharType IndexedDBContextImpl::kIndexedDBDirectory[] =
45 FILE_PATH_LITERAL("IndexedDB"); 45 FILE_PATH_LITERAL("IndexedDB");
46 46
47 static const base::FilePath::CharType kIndexedDBExtension[] = 47 static const base::FilePath::CharType kIndexedDBExtension[] =
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 origin_set_.reset(); 570 origin_set_.reset();
571 origin_size_map_.clear(); 571 origin_size_map_.clear();
572 space_available_map_.clear(); 572 space_available_map_.clear();
573 } 573 }
574 574
575 base::SequencedTaskRunner* IndexedDBContextImpl::TaskRunner() const { 575 base::SequencedTaskRunner* IndexedDBContextImpl::TaskRunner() const {
576 return task_runner_; 576 return task_runner_;
577 } 577 }
578 578
579 } // namespace content 579 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_context_impl.h ('k') | content/browser/indexed_db/indexed_db_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698