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

Side by Side Diff: content/browser/indexed_db/indexed_db_callbacks.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 (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/indexed_db/indexed_db_callbacks.h" 5 #include "content/browser/indexed_db/indexed_db_callbacks.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/memory/ptr_util.h"
12 #include "base/metrics/histogram_macros.h" 13 #include "base/metrics/histogram_macros.h"
13 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
14 #include "base/time/time.h" 15 #include "base/time/time.h"
15 #include "content/browser/child_process_security_policy_impl.h" 16 #include "content/browser/child_process_security_policy_impl.h"
16 #include "content/browser/fileapi/fileapi_message_filter.h" 17 #include "content/browser/fileapi/fileapi_message_filter.h"
17 #include "content/browser/indexed_db/cursor_impl.h" 18 #include "content/browser/indexed_db/cursor_impl.h"
18 #include "content/browser/indexed_db/database_impl.h" 19 #include "content/browser/indexed_db/database_impl.h"
19 #include "content/browser/indexed_db/indexed_db_blob_info.h" 20 #include "content/browser/indexed_db/indexed_db_blob_info.h"
20 #include "content/browser/indexed_db/indexed_db_connection.h" 21 #include "content/browser/indexed_db/indexed_db_connection.h"
21 #include "content/browser/indexed_db/indexed_db_context_impl.h" 22 #include "content/browser/indexed_db/indexed_db_context_impl.h"
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 IDB_TRACE("IndexedDBCallbacks::CreateAllBlobs"); 596 IDB_TRACE("IndexedDBCallbacks::CreateAllBlobs");
596 DCHECK_EQ(blob_info.size(), blob_or_file_info->size()); 597 DCHECK_EQ(blob_info.size(), blob_or_file_info->size());
597 if (!dispatcher_host_->blob_storage_context()) 598 if (!dispatcher_host_->blob_storage_context())
598 return false; 599 return false;
599 for (size_t i = 0; i < blob_info.size(); ++i) 600 for (size_t i = 0; i < blob_info.size(); ++i)
600 (*blob_or_file_info)[i]->uuid = CreateBlobData(blob_info[i]); 601 (*blob_or_file_info)[i]->uuid = CreateBlobData(blob_info[i]);
601 return true; 602 return true;
602 } 603 }
603 604
604 } // namespace content 605 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698