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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_context.cc

Issue 8788003: Update includes to new header locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/in_process_webkit/indexed_db_context.h" 5 #include "content/browser/in_process_webkit/indexed_db_context.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/task.h" 13 #include "base/task.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "content/browser/in_process_webkit/indexed_db_quota_client.h" 15 #include "content/browser/in_process_webkit/indexed_db_quota_client.h"
16 #include "content/browser/in_process_webkit/webkit_context.h" 16 #include "content/browser/in_process_webkit/webkit_context.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h "
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
24 #include "webkit/database/database_util.h" 24 #include "webkit/database/database_util.h"
25 #include "webkit/glue/webkit_glue.h" 25 #include "webkit/glue/webkit_glue.h"
26 #include "webkit/quota/quota_manager.h" 26 #include "webkit/quota/quota_manager.h"
27 #include "webkit/quota/special_storage_policy.h" 27 #include "webkit/quota/special_storage_policy.h"
28 28
29 using content::BrowserThread; 29 using content::BrowserThread;
30 using webkit_database::DatabaseUtil; 30 using webkit_database::DatabaseUtil;
31 using WebKit::WebIDBDatabase; 31 using WebKit::WebIDBDatabase;
32 using WebKit::WebIDBFactory; 32 using WebKit::WebIDBFactory;
33 using WebKit::WebSecurityOrigin; 33 using WebKit::WebSecurityOrigin;
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 } 334 }
335 } 335 }
336 return origin_set_.get(); 336 return origin_set_.get();
337 } 337 }
338 338
339 void IndexedDBContext::ResetCaches() { 339 void IndexedDBContext::ResetCaches() {
340 origin_set_.reset(); 340 origin_set_.reset();
341 origin_size_map_.clear(); 341 origin_size_map_.clear();
342 space_available_map_.clear(); 342 space_available_map_.clear();
343 } 343 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698