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

Side by Side Diff: webkit/database/databases_table.cc

Issue 465065: Use utf_string_conversions header in more places. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: rebased Created 11 years 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "webkit/database/databases_table.h" 5 #include "webkit/database/databases_table.h"
6 6
7 #include "app/sql/connection.h" 7 #include "app/sql/connection.h"
8 #include "app/sql/statement.h" 8 #include "app/sql/statement.h"
9 #include "base/string_util.h" 9 #include "base/logging.h"
10 #include "base/utf_string_conversions.h"
10 11
11 namespace webkit_database { 12 namespace webkit_database {
12 13
13 bool DatabasesTable::Init() { 14 bool DatabasesTable::Init() {
14 // 'Databases' schema: 15 // 'Databases' schema:
15 // id A unique ID assigned to each database 16 // id A unique ID assigned to each database
16 // origin The originto which the database belongs. This is a 17 // origin The originto which the database belongs. This is a
17 // string that can be used as part of a file name 18 // string that can be used as part of a file name
18 // (http_webkit.org_0, for example). 19 // (http_webkit.org_0, for example).
19 // name The database name. 20 // name The database name.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 details.estimated_size = statement.ColumnInt64(2); 128 details.estimated_size = statement.ColumnInt64(2);
128 details_vector->push_back(details); 129 details_vector->push_back(details);
129 } 130 }
130 return statement.Succeeded(); 131 return statement.Succeeded();
131 } 132 }
132 133
133 return false; 134 return false;
134 } 135 }
135 136
136 } // namespace webkit_database 137 } // namespace webkit_database
OLDNEW
« no previous file with comments | « chrome/browser/views/blocked_popup_container_view_views.cc ('k') | webkit/glue/glue_serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698