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

Side by Side Diff: chrome/browser/webdata/web_intents_table.cc

Issue 16387014: Use a direct include of utf_string_conversions.h in chrome/browser/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | « chrome/browser/webdata/logins_table_win.cc ('k') | no next file » | 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 "chrome/browser/webdata/web_intents_table.h" 5 #include "chrome/browser/webdata/web_intents_table.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/i18n/case_conversion.h" 9 #include "base/i18n/case_conversion.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "components/webdata/common/web_database.h" 13 #include "components/webdata/common/web_database.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "net/base/mime_util.h" 15 #include "net/base/mime_util.h"
16 #include "sql/statement.h" 16 #include "sql/statement.h"
17 #include "third_party/sqlite/sqlite3.h" 17 #include "third_party/sqlite/sqlite3.h"
18 18
19 namespace { 19 namespace {
20 20
21 WebDatabaseTable::TypeKey GetKey() { 21 WebDatabaseTable::TypeKey GetKey() {
22 // We just need a unique constant. Use the address of a static that 22 // We just need a unique constant. Use the address of a static that
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 return false; 149 return false;
150 } 150 }
151 151
152 if (!db_->Execute("DROP table old_web_intents_defaults")) { 152 if (!db_->Execute("DROP table old_web_intents_defaults")) {
153 DLOG(WARNING) << "Could not drop backup web_intents_defaults table."; 153 DLOG(WARNING) << "Could not drop backup web_intents_defaults table.";
154 return false; 154 return false;
155 } 155 }
156 156
157 return true; 157 return true;
158 } 158 }
OLDNEW
« no previous file with comments | « chrome/browser/webdata/logins_table_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698