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

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

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | crypto/mock_apple_keychain.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_macros.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/threading/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
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // We filter out errors which the backend doesn't act on to avoid 189 // We filter out errors which the backend doesn't act on to avoid
190 // a unnecessary ipc traffic, this method can get called at a fairly 190 // a unnecessary ipc traffic, this method can get called at a fairly
191 // high frequency (per-sqlstatement). 191 // high frequency (per-sqlstatement).
192 if (error == SQLITE_CORRUPT || error == SQLITE_NOTADB) { 192 if (error == SQLITE_CORRUPT || error == SQLITE_NOTADB) {
193 sender_->Send( 193 sender_->Send(
194 new DatabaseHostMsg_HandleSqliteError(origin, database_name, error)); 194 new DatabaseHostMsg_HandleSqliteError(origin, database_name, error));
195 } 195 }
196 } 196 }
197 197
198 } // namespace content 198 } // namespace content
OLDNEW
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | crypto/mock_apple_keychain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698