OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/dom_storage/dom_storage_area.h" | 5 #include "content/browser/dom_storage/dom_storage_area.h" |
6 | 6 |
7 #include <inttypes.h> | 7 #include <inttypes.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <cctype> // for std::isalnum | 10 #include <cctype> // for std::isalnum |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/metrics/histogram.h" | 15 #include "base/metrics/histogram_macros.h" |
16 #include "base/process/process_info.h" | 16 #include "base/process/process_info.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/time/time.h" | 19 #include "base/time/time.h" |
20 #include "base/trace_event/memory_dump_manager.h" | 20 #include "base/trace_event/memory_dump_manager.h" |
21 #include "base/trace_event/process_memory_dump.h" | 21 #include "base/trace_event/process_memory_dump.h" |
22 #include "content/browser/dom_storage/dom_storage_namespace.h" | 22 #include "content/browser/dom_storage/dom_storage_namespace.h" |
23 #include "content/browser/dom_storage/dom_storage_task_runner.h" | 23 #include "content/browser/dom_storage/dom_storage_task_runner.h" |
24 #include "content/browser/dom_storage/local_storage_database_adapter.h" | 24 #include "content/browser/dom_storage/local_storage_database_adapter.h" |
25 #include "content/browser/dom_storage/session_storage_database.h" | 25 #include "content/browser/dom_storage/session_storage_database.h" |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 commit_batch_->clear_all_first, | 524 commit_batch_->clear_all_first, |
525 commit_batch_->changed_values); | 525 commit_batch_->changed_values); |
526 DCHECK(success); | 526 DCHECK(success); |
527 } | 527 } |
528 commit_batch_.reset(); | 528 commit_batch_.reset(); |
529 backing_.reset(); | 529 backing_.reset(); |
530 session_storage_backing_ = NULL; | 530 session_storage_backing_ = NULL; |
531 } | 531 } |
532 | 532 |
533 } // namespace content | 533 } // namespace content |
OLD | NEW |