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

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

Issue 16189015: [OBSOLETE] Slogging webkit_base out of existence. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/files/file_enumerator.h" 12 #include "base/files/file_enumerator.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/message_loop/message_loop_proxy.h" 14 #include "base/message_loop/message_loop_proxy.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "content/browser/indexed_db/indexed_db_quota_client.h" 17 #include "content/browser/indexed_db/indexed_db_quota_client.h"
18 #include "content/browser/indexed_db/webidbdatabase_impl.h" 18 #include "content/browser/indexed_db/webidbdatabase_impl.h"
19 #include "content/browser/indexed_db/webidbfactory_impl.h" 19 #include "content/browser/indexed_db/webidbfactory_impl.h"
20 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
21 #include "content/public/browser/indexed_db_info.h" 21 #include "content/public/browser/indexed_db_info.h"
22 #include "content/public/common/content_switches.h" 22 #include "content/public/common/content_switches.h"
23 #include "third_party/WebKit/public/platform/WebCString.h" 23 #include "third_party/WebKit/public/platform/WebCString.h"
24 #include "third_party/WebKit/public/platform/WebIDBDatabase.h" 24 #include "third_party/WebKit/public/platform/WebIDBDatabase.h"
25 #include "third_party/WebKit/public/platform/WebString.h" 25 #include "third_party/WebKit/public/platform/WebString.h"
26 #include "webkit/base/file_path_string_conversions.h" 26 #include "webkit/common/base/file_path_string_conversions.h"
27 #include "webkit/base/origin_url_conversions.h" 27 #include "webkit/common/base/origin_url_conversions.h"
28 #include "webkit/browser/database/database_util.h" 28 #include "webkit/browser/database/database_util.h"
29 #include "webkit/browser/quota/quota_manager.h" 29 #include "webkit/browser/quota/quota_manager.h"
30 #include "webkit/browser/quota/special_storage_policy.h" 30 #include "webkit/browser/quota/special_storage_policy.h"
31 31
32 using webkit_database::DatabaseUtil; 32 using webkit_database::DatabaseUtil;
33 33
34 namespace content { 34 namespace content {
35 const base::FilePath::CharType IndexedDBContextImpl::kIndexedDBDirectory[] = 35 const base::FilePath::CharType IndexedDBContextImpl::kIndexedDBDirectory[] =
36 FILE_PATH_LITERAL("IndexedDB"); 36 FILE_PATH_LITERAL("IndexedDB");
37 37
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 return origin_set_.get(); 406 return origin_set_.get();
407 } 407 }
408 408
409 void IndexedDBContextImpl::ResetCaches() { 409 void IndexedDBContextImpl::ResetCaches() {
410 origin_set_.reset(); 410 origin_set_.reset();
411 origin_size_map_.clear(); 411 origin_size_map_.clear();
412 space_available_map_.clear(); 412 space_available_map_.clear();
413 } 413 }
414 414
415 } // namespace content 415 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698