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 "content/browser/appcache/appcache_storage_impl.h" | 5 #include "content/browser/appcache/appcache_storage_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <functional> | 8 #include <functional> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
14 #include "base/file_util.h" | 14 #include "base/files/file_util.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
17 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
18 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
19 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
20 #include "content/browser/appcache/appcache.h" | 20 #include "content/browser/appcache/appcache.h" |
21 #include "content/browser/appcache/appcache_database.h" | 21 #include "content/browser/appcache/appcache_database.h" |
22 #include "content/browser/appcache/appcache_entry.h" | 22 #include "content/browser/appcache/appcache_entry.h" |
23 #include "content/browser/appcache/appcache_group.h" | 23 #include "content/browser/appcache/appcache_group.h" |
24 #include "content/browser/appcache/appcache_histograms.h" | 24 #include "content/browser/appcache/appcache_histograms.h" |
(...skipping 1832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1857 base::Bind(&AppCacheStorageImpl::CallScheduleReinitialize, | 1857 base::Bind(&AppCacheStorageImpl::CallScheduleReinitialize, |
1858 weak_factory_.GetWeakPtr())); | 1858 weak_factory_.GetWeakPtr())); |
1859 } | 1859 } |
1860 | 1860 |
1861 void AppCacheStorageImpl::CallScheduleReinitialize() { | 1861 void AppCacheStorageImpl::CallScheduleReinitialize() { |
1862 service_->ScheduleReinitialize(); | 1862 service_->ScheduleReinitialize(); |
1863 // note: 'this' may be deleted at this point. | 1863 // note: 'this' may be deleted at this point. |
1864 } | 1864 } |
1865 | 1865 |
1866 } // namespace content | 1866 } // namespace content |
OLD | NEW |