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

Side by Side Diff: content/browser/service_worker/service_worker_storage.cc

Issue 866803003: Mechanical rename of tracing includes for /content [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: Created 5 years, 11 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
OLDNEW
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/service_worker/service_worker_storage.h" 5 #include "content/browser/service_worker/service_worker_storage.h"
6 6
7 #include "base/bind_helpers.h" 7 #include "base/bind_helpers.h"
8 #include "base/debug/trace_event.h"
9 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
10 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
11 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
12 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
13 #include "base/task_runner_util.h" 12 #include "base/task_runner_util.h"
13 #include "base/trace_event/trace_event.h"
14 #include "content/browser/service_worker/service_worker_context_core.h" 14 #include "content/browser/service_worker/service_worker_context_core.h"
15 #include "content/browser/service_worker/service_worker_disk_cache.h" 15 #include "content/browser/service_worker/service_worker_disk_cache.h"
16 #include "content/browser/service_worker/service_worker_info.h" 16 #include "content/browser/service_worker/service_worker_info.h"
17 #include "content/browser/service_worker/service_worker_metrics.h" 17 #include "content/browser/service_worker/service_worker_metrics.h"
18 #include "content/browser/service_worker/service_worker_registration.h" 18 #include "content/browser/service_worker/service_worker_registration.h"
19 #include "content/browser/service_worker/service_worker_utils.h" 19 #include "content/browser/service_worker/service_worker_utils.h"
20 #include "content/browser/service_worker/service_worker_version.h" 20 #include "content/browser/service_worker/service_worker_version.h"
21 #include "content/common/service_worker/service_worker_types.h" 21 #include "content/common/service_worker/service_worker_types.h"
22 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
23 #include "net/base/completion_callback.h" 23 #include "net/base/completion_callback.h"
(...skipping 1747 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 // Give up the corruption recovery until the browser restarts. 1771 // Give up the corruption recovery until the browser restarts.
1772 LOG(ERROR) << "Failed to delete the diskcache."; 1772 LOG(ERROR) << "Failed to delete the diskcache.";
1773 callback.Run(SERVICE_WORKER_ERROR_FAILED); 1773 callback.Run(SERVICE_WORKER_ERROR_FAILED);
1774 return; 1774 return;
1775 } 1775 }
1776 DVLOG(1) << "Deleted ServiceWorkerDiskCache successfully."; 1776 DVLOG(1) << "Deleted ServiceWorkerDiskCache successfully.";
1777 callback.Run(SERVICE_WORKER_OK); 1777 callback.Run(SERVICE_WORKER_OK);
1778 } 1778 }
1779 1779
1780 } // namespace content 1780 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698