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

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

Issue 16325022: move content/common_child to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « content/child/web_database_observer_impl.h ('k') | content/child/webblobregistry_impl.h » ('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 (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/common_child/web_database_observer_impl.h" 5 #include "content/child/web_database_observer_impl.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "content/common/database_messages.h" 9 #include "content/common/database_messages.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h"
10 #include "third_party/WebKit/public/platform/WebString.h" 11 #include "third_party/WebKit/public/platform/WebString.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h"
12 #include "third_party/sqlite/sqlite3.h" 12 #include "third_party/sqlite/sqlite3.h"
13 13
14 using WebKit::WebDatabase; 14 using WebKit::WebDatabase;
15 15
16 namespace content { 16 namespace content {
17 namespace { 17 namespace {
18 18
19 const int kResultHistogramSize = 50; 19 const int kResultHistogramSize = 50;
20 const int kCallsiteHistogramSize = 10; 20 const int kCallsiteHistogramSize = 10;
21 21
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // high frequency (per-sqlstatement). 160 // high frequency (per-sqlstatement).
161 if (error == SQLITE_CORRUPT || error == SQLITE_NOTADB) { 161 if (error == SQLITE_CORRUPT || error == SQLITE_NOTADB) {
162 sender_->Send(new DatabaseHostMsg_HandleSqliteError( 162 sender_->Send(new DatabaseHostMsg_HandleSqliteError(
163 database.securityOrigin().databaseIdentifier(), 163 database.securityOrigin().databaseIdentifier(),
164 database.name(), 164 database.name(),
165 error)); 165 error));
166 } 166 }
167 } 167 }
168 168
169 } // namespace content 169 } // namespace content
OLDNEW
« no previous file with comments | « content/child/web_database_observer_impl.h ('k') | content/child/webblobregistry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698