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

Side by Side Diff: content/browser/indexed_db/database_impl.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/indexed_db/database_impl.h" 5 #include "content/browser/indexed_db/database_impl.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "base/threading/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
8 #include "content/browser/bad_message.h" 9 #include "content/browser/bad_message.h"
9 #include "content/browser/child_process_security_policy_impl.h" 10 #include "content/browser/child_process_security_policy_impl.h"
10 #include "content/browser/indexed_db/indexed_db_connection.h" 11 #include "content/browser/indexed_db/indexed_db_connection.h"
11 #include "content/browser/indexed_db/indexed_db_context_impl.h" 12 #include "content/browser/indexed_db/indexed_db_context_impl.h"
12 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" 13 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
13 #include "content/browser/indexed_db/indexed_db_transaction.h" 14 #include "content/browser/indexed_db/indexed_db_transaction.h"
14 #include "content/browser/indexed_db/indexed_db_value.h" 15 #include "content/browser/indexed_db/indexed_db_value.h"
15 #include "storage/browser/blob/blob_storage_context.h" 16 #include "storage/browser/blob/blob_storage_context.h"
16 #include "storage/browser/quota/quota_manager_proxy.h" 17 #include "storage/browser/quota/quota_manager_proxy.h"
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 usage + transaction->size() <= quota) { 832 usage + transaction->size() <= quota) {
832 connection_->database()->Commit(transaction); 833 connection_->database()->Commit(transaction);
833 } else { 834 } else {
834 connection_->AbortTransaction( 835 connection_->AbortTransaction(
835 transaction, 836 transaction,
836 IndexedDBDatabaseError(blink::WebIDBDatabaseExceptionQuotaError)); 837 IndexedDBDatabaseError(blink::WebIDBDatabaseExceptionQuotaError));
837 } 838 }
838 } 839 }
839 840
840 } // namespace content 841 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/cursor_impl.cc ('k') | content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698