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

Side by Side Diff: content/browser/dom_storage/dom_storage_context_wrapper.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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/dom_storage/dom_storage_context_wrapper.h" 5 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 14 matching lines...) Expand all
25 #include "content/browser/dom_storage/session_storage_namespace_impl.h" 25 #include "content/browser/dom_storage/session_storage_namespace_impl.h"
26 #include "content/browser/leveldb_wrapper_impl.h" 26 #include "content/browser/leveldb_wrapper_impl.h"
27 #include "content/browser/memory/memory_coordinator.h" 27 #include "content/browser/memory/memory_coordinator.h"
28 #include "content/public/browser/browser_thread.h" 28 #include "content/public/browser/browser_thread.h"
29 #include "content/public/browser/local_storage_usage_info.h" 29 #include "content/public/browser/local_storage_usage_info.h"
30 #include "content/public/browser/session_storage_usage_info.h" 30 #include "content/public/browser/session_storage_usage_info.h"
31 #include "content/public/common/content_features.h" 31 #include "content/public/common/content_features.h"
32 #include "mojo/common/common_type_converters.h" 32 #include "mojo/common/common_type_converters.h"
33 #include "services/file/public/cpp/constants.h" 33 #include "services/file/public/cpp/constants.h"
34 #include "services/file/public/interfaces/file_system.mojom.h" 34 #include "services/file/public/interfaces/file_system.mojom.h"
35 #include "services/shell/public/cpp/connection.h" 35 #include "services/service_manager/public/cpp/connection.h"
36 #include "services/shell/public/cpp/connector.h" 36 #include "services/service_manager/public/cpp/connector.h"
37 37
38 namespace content { 38 namespace content {
39 namespace { 39 namespace {
40 40
41 const char kLocalStorageDirectory[] = "Local Storage"; 41 const char kLocalStorageDirectory[] = "Local Storage";
42 const char kSessionStorageDirectory[] = "Session Storage"; 42 const char kSessionStorageDirectory[] = "Session Storage";
43 43
44 void InvokeLocalStorageUsageCallbackHelper( 44 void InvokeLocalStorageUsageCallbackHelper(
45 const DOMStorageContext::GetLocalStorageUsageCallback& callback, 45 const DOMStorageContext::GetLocalStorageUsageCallback& callback,
46 const std::vector<LocalStorageUsageInfo>* infos) { 46 const std::vector<LocalStorageUsageInfo>* infos) {
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 } 427 }
428 428
429 void DOMStorageContextWrapper::PurgeMemory(DOMStorageContextImpl::PurgeOption 429 void DOMStorageContextWrapper::PurgeMemory(DOMStorageContextImpl::PurgeOption
430 purge_option) { 430 purge_option) {
431 context_->task_runner()->PostTask( 431 context_->task_runner()->PostTask(
432 FROM_HERE, 432 FROM_HERE,
433 base::Bind(&DOMStorageContextImpl::PurgeMemory, context_, purge_option)); 433 base::Bind(&DOMStorageContextImpl::PurgeMemory, context_, purge_option));
434 } 434 }
435 435
436 } // namespace content 436 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698