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

Side by Side Diff: content/child/web_database_observer_impl.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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/child/web_database_observer_impl.h" 5 #include "content/child/web_database_observer_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "content/child/storage_util.h" 12 #include "content/child/storage_util.h"
13 #include "content/common/database_messages.h" 13 #include "content/common/database_messages.h"
14 #include "storage/common/database/database_identifier.h" 14 #include "storage/common/database/database_identifier.h"
15 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" 15 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
16 #include "third_party/WebKit/public/platform/WebString.h" 16 #include "third_party/WebKit/public/platform/WebString.h"
17 #include "third_party/sqlite/sqlite3.h" 17 #include "third_party/sqlite/sqlite3.h"
18 18
19 using blink::WebSecurityOrigin; 19 using blink::WebSecurityOrigin;
20 using blink::WebString; 20 using blink::WebString;
21 21
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // We filter out errors which the backend doesn't act on to avoid 190 // We filter out errors which the backend doesn't act on to avoid
191 // a unnecessary ipc traffic, this method can get called at a fairly 191 // a unnecessary ipc traffic, this method can get called at a fairly
192 // high frequency (per-sqlstatement). 192 // high frequency (per-sqlstatement).
193 if (error == SQLITE_CORRUPT || error == SQLITE_NOTADB) { 193 if (error == SQLITE_CORRUPT || error == SQLITE_NOTADB) {
194 sender_->Send(new DatabaseHostMsg_HandleSqliteError( 194 sender_->Send(new DatabaseHostMsg_HandleSqliteError(
195 GetIdentifierFromOrigin(origin), database_name, error)); 195 GetIdentifierFromOrigin(origin), database_name, error));
196 } 196 }
197 } 197 }
198 198
199 } // namespace content 199 } // namespace content
OLDNEW
« no previous file with comments | « content/child/web_data_consumer_handle_impl_unittest.cc ('k') | content/child/worker_thread_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698