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

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

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/local_storage_context_mojo.h" 5 #include "content/browser/dom_storage/local_storage_context_mojo.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "content/browser/leveldb_wrapper_impl.h" 8 #include "content/browser/leveldb_wrapper_impl.h"
8 #include "content/common/dom_storage/dom_storage_types.h" 9 #include "content/common/dom_storage/dom_storage_types.h"
9 #include "services/file/public/interfaces/constants.mojom.h" 10 #include "services/file/public/interfaces/constants.mojom.h"
10 #include "services/service_manager/public/cpp/connection.h" 11 #include "services/service_manager/public/cpp/connection.h"
11 #include "services/service_manager/public/cpp/connector.h" 12 #include "services/service_manager/public/cpp/connector.h"
12 13
13 namespace content { 14 namespace content {
14 15
15 namespace { 16 namespace {
16 const char kOriginSeparator = '\x00'; 17 const char kOriginSeparator = '\x00';
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 kMaxCommitsPerHour, 156 kMaxCommitsPerHour,
156 base::Bind(&LocalStorageContextMojo::OnLevelDBWrapperHasNoBindings, 157 base::Bind(&LocalStorageContextMojo::OnLevelDBWrapperHasNoBindings,
157 base::Unretained(this), origin)); 158 base::Unretained(this), origin));
158 found = level_db_wrappers_.find(origin); 159 found = level_db_wrappers_.find(origin);
159 } 160 }
160 161
161 found->second->Bind(std::move(request)); 162 found->second->Bind(std::move(request));
162 } 163 }
163 164
164 } // namespace content 165 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/device_sensors/device_sensor_host.cc ('k') | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698