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

Side by Side Diff: content/browser/indexed_db/indexed_db_callbacks.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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 <memory> 10 #include <memory>
(...skipping 18 matching lines...) Expand all
29 #include "content/browser/indexed_db/indexed_db_transaction.h" 29 #include "content/browser/indexed_db/indexed_db_transaction.h"
30 #include "content/browser/indexed_db/indexed_db_value.h" 30 #include "content/browser/indexed_db/indexed_db_value.h"
31 #include "content/common/indexed_db/indexed_db_constants.h" 31 #include "content/common/indexed_db/indexed_db_constants.h"
32 #include "content/common/indexed_db/indexed_db_metadata.h" 32 #include "content/common/indexed_db/indexed_db_metadata.h"
33 #include "content/public/browser/browser_thread.h" 33 #include "content/public/browser/browser_thread.h"
34 #include "mojo/public/cpp/bindings/strong_associated_binding.h" 34 #include "mojo/public/cpp/bindings/strong_associated_binding.h"
35 #include "storage/browser/blob/blob_storage_context.h" 35 #include "storage/browser/blob/blob_storage_context.h"
36 #include "storage/browser/blob/shareable_file_reference.h" 36 #include "storage/browser/blob/shareable_file_reference.h"
37 #include "storage/browser/quota/quota_manager.h" 37 #include "storage/browser/quota/quota_manager.h"
38 38
39 using indexed_db::mojom::CallbacksAssociatedPtrInfo; 39 using ::indexed_db::mojom::CallbacksAssociatedPtrInfo;
40 using std::swap; 40 using std::swap;
41 using storage::ShareableFileReference; 41 using storage::ShareableFileReference;
42 42
43 namespace content { 43 namespace content {
44 44
45 namespace { 45 namespace {
46 46
47 // The following two objects protect the given objects from being destructed on 47 // The following two objects protect the given objects from being destructed on
48 // the IO thread if we have a shutdown or an error. 48 // the IO thread if we have a shutdown or an error.
49 struct SafeIOThreadConnectionWrapper { 49 struct SafeIOThreadConnectionWrapper {
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 return true; 766 return true;
767 } 767 }
768 768
769 void IndexedDBCallbacks::IOThreadHelper::OnConnectionError() { 769 void IndexedDBCallbacks::IOThreadHelper::OnConnectionError() {
770 DCHECK_CURRENTLY_ON(BrowserThread::IO); 770 DCHECK_CURRENTLY_ON(BrowserThread::IO);
771 callbacks_.reset(); 771 callbacks_.reset();
772 dispatcher_host_ = nullptr; 772 dispatcher_host_ = nullptr;
773 } 773 }
774 774
775 } // namespace content 775 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698