OLD | NEW |
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/browser/dom_storage/dom_storage_area.h" | 5 #include "webkit/browser/dom_storage/dom_storage_area.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
| 11 #include "base/strings/utf_string_conversions.h" |
11 #include "base/time.h" | 12 #include "base/time.h" |
12 #include "base/utf_string_conversions.h" | |
13 #include "third_party/WebKit/public/platform/WebString.h" | 13 #include "third_party/WebKit/public/platform/WebString.h" |
14 #include "webkit/base/file_path_string_conversions.h" | 14 #include "webkit/base/file_path_string_conversions.h" |
15 #include "webkit/base/origin_url_conversions.h" | 15 #include "webkit/base/origin_url_conversions.h" |
16 #include "webkit/browser/database/database_util.h" | 16 #include "webkit/browser/database/database_util.h" |
17 #include "webkit/browser/dom_storage/dom_storage_namespace.h" | 17 #include "webkit/browser/dom_storage/dom_storage_namespace.h" |
18 #include "webkit/browser/dom_storage/dom_storage_task_runner.h" | 18 #include "webkit/browser/dom_storage/dom_storage_task_runner.h" |
19 #include "webkit/browser/dom_storage/local_storage_database_adapter.h" | 19 #include "webkit/browser/dom_storage/local_storage_database_adapter.h" |
20 #include "webkit/browser/dom_storage/session_storage_database.h" | 20 #include "webkit/browser/dom_storage/session_storage_database.h" |
21 #include "webkit/browser/dom_storage/session_storage_database_adapter.h" | 21 #include "webkit/browser/dom_storage/session_storage_database_adapter.h" |
22 #include "webkit/common/dom_storage/dom_storage_map.h" | 22 #include "webkit/common/dom_storage/dom_storage_map.h" |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 commit_batch_->clear_all_first, | 389 commit_batch_->clear_all_first, |
390 commit_batch_->changed_values); | 390 commit_batch_->changed_values); |
391 DCHECK(success); | 391 DCHECK(success); |
392 } | 392 } |
393 commit_batch_.reset(); | 393 commit_batch_.reset(); |
394 backing_.reset(); | 394 backing_.reset(); |
395 session_storage_backing_ = NULL; | 395 session_storage_backing_ = NULL; |
396 } | 396 } |
397 | 397 |
398 } // namespace dom_storage | 398 } // namespace dom_storage |
OLD | NEW |