diff options
Diffstat (limited to 'chrome/browser')
51 files changed, 95 insertions, 94 deletions
diff --git a/chrome/browser/diagnostics/sqlite_diagnostics.cc b/chrome/browser/diagnostics/sqlite_diagnostics.cc index 71f656d..686a2c31 100644 --- a/chrome/browser/diagnostics/sqlite_diagnostics.cc +++ b/chrome/browser/diagnostics/sqlite_diagnostics.cc @@ -4,9 +4,6 @@ #include "chrome/browser/diagnostics/sqlite_diagnostics.h" -#include "app/sql/connection.h" -#include "app/sql/diagnostic_error_delegate.h" -#include "app/sql/statement.h" #include "base/file_util.h" #include "base/logging.h" #include "base/memory/singleton.h" @@ -16,6 +13,9 @@ #include "base/utf_string_conversions.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_paths.h" +#include "sql/connection.h" +#include "sql/diagnostic_error_delegate.h" +#include "sql/statement.h" #include "third_party/sqlite/sqlite3.h" #include "webkit/appcache/appcache_interfaces.h" #include "webkit/database/database_tracker.h" diff --git a/chrome/browser/history/archived_database.cc b/chrome/browser/history/archived_database.cc index 08a742f..b5f8bfc 100644 --- a/chrome/browser/history/archived_database.cc +++ b/chrome/browser/history/archived_database.cc @@ -1,13 +1,13 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include <string> -#include "app/sql/transaction.h" #include "base/string_util.h" #include "chrome/browser/history/archived_database.h" +#include "sql/transaction.h" namespace history { diff --git a/chrome/browser/history/archived_database.h b/chrome/browser/history/archived_database.h index 9568aa5..7303d35 100644 --- a/chrome/browser/history/archived_database.h +++ b/chrome/browser/history/archived_database.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,12 +6,12 @@ #define CHROME_BROWSER_HISTORY_ARCHIVED_DATABASE_H_ #pragma once -#include "app/sql/connection.h" -#include "app/sql/init_status.h" -#include "app/sql/meta_table.h" #include "base/basictypes.h" #include "chrome/browser/history/url_database.h" #include "chrome/browser/history/visit_database.h" +#include "sql/connection.h" +#include "sql/init_status.h" +#include "sql/meta_table.h" class FilePath; diff --git a/chrome/browser/history/download_database.cc b/chrome/browser/history/download_database.cc index 0f8dca6..4f4bfac 100644 --- a/chrome/browser/history/download_database.cc +++ b/chrome/browser/history/download_database.cc @@ -7,12 +7,12 @@ #include <limits> #include <vector> -#include "app/sql/statement.h" #include "base/file_path.h" #include "base/utf_string_conversions.h" #include "build/build_config.h" #include "chrome/browser/download/download_item.h" #include "chrome/browser/history/download_history_info.h" +#include "sql/statement.h" // Download schema: // diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index 131ef95..06008de 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -9,7 +9,6 @@ #include <set> #include <vector> -#include "app/sql/init_status.h" #include "base/basictypes.h" #include "base/callback_old.h" #include "base/file_path.h" @@ -25,6 +24,7 @@ #include "content/common/notification_observer.h" #include "content/common/notification_registrar.h" #include "content/common/page_transition_types.h" +#include "sql/init_status.h" class BookmarkService; struct DownloadHistoryInfo; diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h index 9b3edc3..9b8d175 100644 --- a/chrome/browser/history/history_backend.h +++ b/chrome/browser/history/history_backend.h @@ -9,7 +9,6 @@ #include <string> #include <utility> -#include "app/sql/init_status.h" #include "base/file_path.h" #include "base/gtest_prod_util.h" #include "base/memory/mru_cache.h" @@ -23,6 +22,7 @@ #include "chrome/browser/history/thumbnail_database.h" #include "chrome/browser/history/visit_tracker.h" #include "chrome/browser/search_engines/template_url_id.h" +#include "sql/init_status.h" class BookmarkService; struct DownloadHistoryInfo; diff --git a/chrome/browser/history/history_database.cc b/chrome/browser/history/history_database.cc index c1ed0c9..32c2cc3 100644 --- a/chrome/browser/history/history_database.cc +++ b/chrome/browser/history/history_database.cc @@ -7,13 +7,14 @@ #include <algorithm> #include <set> #include <string> -#include "app/sql/transaction.h" + #include "base/command_line.h" #include "base/file_util.h" #include "base/metrics/histogram.h" #include "base/rand_util.h" #include "base/string_util.h" #include "chrome/browser/diagnostics/sqlite_diagnostics.h" +#include "sql/transaction.h" #if defined(OS_MACOSX) #include "base/mac/mac_util.h" diff --git a/chrome/browser/history/history_database.h b/chrome/browser/history/history_database.h index 6bc53d8..f40e9f3 100644 --- a/chrome/browser/history/history_database.h +++ b/chrome/browser/history/history_database.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,9 +6,6 @@ #define CHROME_BROWSER_HISTORY_HISTORY_DATABASE_H_ #pragma once -#include "app/sql/connection.h" -#include "app/sql/init_status.h" -#include "app/sql/meta_table.h" #include "build/build_config.h" #include "chrome/browser/history/download_database.h" #include "chrome/browser/history/history_types.h" @@ -16,6 +13,9 @@ #include "chrome/browser/history/url_database.h" #include "chrome/browser/history/visit_database.h" #include "chrome/browser/history/visitsegment_database.h" +#include "sql/connection.h" +#include "sql/init_status.h" +#include "sql/meta_table.h" class FilePath; diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc index 9d8f097..a28d14c 100644 --- a/chrome/browser/history/history_unittest.cc +++ b/chrome/browser/history/history_unittest.cc @@ -22,8 +22,6 @@ #include <algorithm> #include <string> -#include "app/sql/connection.h" -#include "app/sql/statement.h" #include "base/basictypes.h" #include "base/callback.h" #include "base/command_line.h" @@ -50,6 +48,8 @@ #include "chrome/tools/profiles/thumbnail-inl.h" #include "content/common/notification_details.h" #include "content/common/notification_source.h" +#include "sql/connection.h" +#include "sql/statement.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/gfx/codec/jpeg_codec.h" diff --git a/chrome/browser/history/history_unittest_base.cc b/chrome/browser/history/history_unittest_base.cc index ccce4f1..2a5a761 100644 --- a/chrome/browser/history/history_unittest_base.cc +++ b/chrome/browser/history/history_unittest_base.cc @@ -4,11 +4,11 @@ #include <vector> -#include "app/sql/connection.h" #include "base/format_macros.h" -#include "base/stringprintf.h" #include "base/string_util.h" +#include "base/stringprintf.h" #include "chrome/browser/history/history_unittest_base.h" +#include "sql/connection.h" namespace history { diff --git a/chrome/browser/history/in_memory_database.h b/chrome/browser/history/in_memory_database.h index 27e1091..f6121d4 100644 --- a/chrome/browser/history/in_memory_database.h +++ b/chrome/browser/history/in_memory_database.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,9 +6,9 @@ #define CHROME_BROWSER_HISTORY_IN_MEMORY_DATABASE_H_ #pragma once -#include "app/sql/connection.h" #include "base/basictypes.h" #include "chrome/browser/history/url_database.h" +#include "sql/connection.h" class FilePath; diff --git a/chrome/browser/history/in_memory_url_index.h b/chrome/browser/history/in_memory_url_index.h index 5d01dbc..44ad146 100644 --- a/chrome/browser/history/in_memory_url_index.h +++ b/chrome/browser/history/in_memory_url_index.h @@ -12,7 +12,6 @@ #include <string> #include <vector> -#include "app/sql/connection.h" #include "base/basictypes.h" #include "base/file_path.h" #include "base/gtest_prod_util.h" @@ -23,6 +22,7 @@ #include "chrome/browser/autocomplete/history_provider_util.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/history/in_memory_url_index_cache.pb.h" +#include "sql/connection.h" #include "testing/gtest/include/gtest/gtest_prod.h" class Profile; diff --git a/chrome/browser/history/in_memory_url_index_unittest.cc b/chrome/browser/history/in_memory_url_index_unittest.cc index 2819ce6..776e18f 100644 --- a/chrome/browser/history/in_memory_url_index_unittest.cc +++ b/chrome/browser/history/in_memory_url_index_unittest.cc @@ -8,9 +8,6 @@ #include <string> #include <vector> -#include "app/sql/connection.h" -#include "app/sql/statement.h" -#include "app/sql/transaction.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/memory/scoped_ptr.h" @@ -18,9 +15,12 @@ #include "base/string_util.h" #include "base/time.h" #include "base/utf_string_conversions.h" -#include "chrome/browser/history/in_memory_url_index.h" #include "chrome/browser/history/in_memory_database.h" +#include "chrome/browser/history/in_memory_url_index.h" #include "chrome/common/chrome_paths.h" +#include "sql/connection.h" +#include "sql/statement.h" +#include "sql/transaction.h" #include "testing/gtest/include/gtest/gtest.h" // The test version of the history url database table ('url') is contained in diff --git a/chrome/browser/history/multipart_uitest.cc b/chrome/browser/history/multipart_uitest.cc index b54a6d1..8cbf46b 100644 --- a/chrome/browser/history/multipart_uitest.cc +++ b/chrome/browser/history/multipart_uitest.cc @@ -4,13 +4,13 @@ #include "chrome/test/ui/ui_test.h" -#include "app/sql/connection.h" -#include "app/sql/statement.h" #include "base/file_util.h" #include "chrome/test/automation/automation_proxy.h" #include "chrome/test/automation/browser_proxy.h" #include "chrome/test/automation/tab_proxy.h" #include "net/test/test_server.h" +#include "sql/connection.h" +#include "sql/statement.h" namespace { diff --git a/chrome/browser/history/starred_url_database.cc b/chrome/browser/history/starred_url_database.cc index e75c013..36ae56a 100644 --- a/chrome/browser/history/starred_url_database.cc +++ b/chrome/browser/history/starred_url_database.cc @@ -4,7 +4,6 @@ #include "chrome/browser/history/starred_url_database.h" -#include "app/sql/statement.h" #include "base/file_util.h" #include "base/json/json_writer.h" #include "base/logging.h" @@ -16,6 +15,7 @@ #include "chrome/browser/bookmarks/bookmark_codec.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/history/history.h" +#include "sql/statement.h" // The following table is used to store star (aka bookmark) information. This // class derives from URLDatabase, which has its own schema. diff --git a/chrome/browser/history/text_database.cc b/chrome/browser/history/text_database.cc index cb65645..bb70fc7 100644 --- a/chrome/browser/history/text_database.cc +++ b/chrome/browser/history/text_database.cc @@ -8,15 +8,15 @@ #include "chrome/browser/history/text_database.h" -#include "app/sql/statement.h" -#include "app/sql/transaction.h" #include "base/file_util.h" #include "base/logging.h" #include "base/metrics/histogram.h" -#include "base/stringprintf.h" #include "base/string_number_conversions.h" +#include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "chrome/browser/diagnostics/sqlite_diagnostics.h" +#include "sql/statement.h" +#include "sql/transaction.h" // There are two tables in each database, one full-text search (FTS) table which // indexes the contents and title of the pages. The other is a regular SQLITE diff --git a/chrome/browser/history/text_database.h b/chrome/browser/history/text_database.h index 9fb3c0d..1b4749e 100644 --- a/chrome/browser/history/text_database.h +++ b/chrome/browser/history/text_database.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -9,13 +9,13 @@ #include <set> #include <vector> -#include "app/sql/connection.h" -#include "app/sql/meta_table.h" #include "base/basictypes.h" #include "base/file_path.h" #include "base/string16.h" #include "chrome/browser/history/history_types.h" #include "googleurl/src/gurl.h" +#include "sql/connection.h" +#include "sql/meta_table.h" namespace history { diff --git a/chrome/browser/history/text_database_manager_unittest.cc b/chrome/browser/history/text_database_manager_unittest.cc index bd9e736..6e9da20 100644 --- a/chrome/browser/history/text_database_manager_unittest.cc +++ b/chrome/browser/history/text_database_manager_unittest.cc @@ -2,13 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "app/sql/connection.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/message_loop.h" #include "base/utf_string_conversions.h" #include "chrome/browser/history/text_database_manager.h" #include "chrome/browser/history/visit_database.h" +#include "sql/connection.h" #include "testing/gtest/include/gtest/gtest.h" using base::Time; diff --git a/chrome/browser/history/thumbnail_database.cc b/chrome/browser/history/thumbnail_database.cc index e9d5730..7f06c3d 100644 --- a/chrome/browser/history/thumbnail_database.cc +++ b/chrome/browser/history/thumbnail_database.cc @@ -7,19 +7,19 @@ #include <algorithm> #include <string> -#include "app/sql/statement.h" -#include "app/sql/transaction.h" #include "base/command_line.h" #include "base/file_util.h" #include "base/memory/ref_counted_memory.h" -#include "base/time.h" #include "base/string_util.h" +#include "base/time.h" #include "base/utf_string_conversions.h" #include "chrome/browser/diagnostics/sqlite_diagnostics.h" #include "chrome/browser/history/history_publisher.h" #include "chrome/browser/history/top_sites.h" #include "chrome/browser/history/url_database.h" #include "chrome/common/thumbnail_score.h" +#include "sql/statement.h" +#include "sql/transaction.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/gfx/codec/jpeg_codec.h" diff --git a/chrome/browser/history/thumbnail_database.h b/chrome/browser/history/thumbnail_database.h index 279a31b..78a47553 100644 --- a/chrome/browser/history/thumbnail_database.h +++ b/chrome/browser/history/thumbnail_database.h @@ -8,13 +8,13 @@ #include <vector> -#include "app/sql/connection.h" -#include "app/sql/init_status.h" -#include "app/sql/meta_table.h" #include "base/gtest_prod_util.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "chrome/browser/history/history_types.h" +#include "sql/connection.h" +#include "sql/init_status.h" +#include "sql/meta_table.h" class FilePath; class RefCountedMemory; diff --git a/chrome/browser/history/top_sites_database.cc b/chrome/browser/history/top_sites_database.cc index 4b19ab7..b481932 100644 --- a/chrome/browser/history/top_sites_database.cc +++ b/chrome/browser/history/top_sites_database.cc @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "app/sql/connection.h" -#include "app/sql/transaction.h" #include "base/file_util.h" #include "base/string_split.h" #include "base/string_util.h" @@ -11,6 +9,8 @@ #include "chrome/browser/history/history_types.h" #include "chrome/browser/history/top_sites.h" #include "chrome/browser/history/top_sites_database.h" +#include "sql/connection.h" +#include "sql/transaction.h" namespace history { diff --git a/chrome/browser/history/top_sites_database.h b/chrome/browser/history/top_sites_database.h index bc9cf34..77f176f 100644 --- a/chrome/browser/history/top_sites_database.h +++ b/chrome/browser/history/top_sites_database.h @@ -9,11 +9,11 @@ #include <map> #include <string> -#include "app/sql/meta_table.h" #include "base/gtest_prod_util.h" #include "base/memory/ref_counted.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/history/url_database.h" // For DBCloseScoper. +#include "sql/meta_table.h" class FilePath; class RefCountedMemory; diff --git a/chrome/browser/history/url_database.cc b/chrome/browser/history/url_database.cc index 0a36aef..4b31c10 100644 --- a/chrome/browser/history/url_database.cc +++ b/chrome/browser/history/url_database.cc @@ -9,11 +9,11 @@ #include <string> #include <vector> -#include "app/sql/statement.h" #include "base/i18n/case_conversion.h" #include "base/utf_string_conversions.h" #include "chrome/common/url_constants.h" #include "googleurl/src/gurl.h" +#include "sql/statement.h" #include "ui/base/l10n/l10n_util.h" namespace history { diff --git a/chrome/browser/history/url_database.h b/chrome/browser/history/url_database.h index c21d925..b6be207 100644 --- a/chrome/browser/history/url_database.h +++ b/chrome/browser/history/url_database.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,10 +6,10 @@ #define CHROME_BROWSER_HISTORY_URL_DATABASE_H_ #pragma once -#include "app/sql/statement.h" #include "base/basictypes.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/search_engines/template_url_id.h" +#include "sql/statement.h" class GURL; diff --git a/chrome/browser/history/url_database_unittest.cc b/chrome/browser/history/url_database_unittest.cc index 7197bdb..cccd827 100644 --- a/chrome/browser/history/url_database_unittest.cc +++ b/chrome/browser/history/url_database_unittest.cc @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "app/sql/connection.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/path_service.h" @@ -10,6 +9,7 @@ #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/history/url_database.h" +#include "sql/connection.h" #include "testing/gtest/include/gtest/gtest.h" using base::Time; diff --git a/chrome/browser/history/visit_database.cc b/chrome/browser/history/visit_database.cc index 1427e78..a8b23f3 100644 --- a/chrome/browser/history/visit_database.cc +++ b/chrome/browser/history/visit_database.cc @@ -9,12 +9,12 @@ #include <map> #include <set> -#include "app/sql/statement.h" #include "base/logging.h" #include "base/string_number_conversions.h" #include "chrome/browser/history/url_database.h" #include "chrome/common/url_constants.h" #include "content/common/page_transition_types.h" +#include "sql/statement.h" // Rows, in order, of the visit table. #define HISTORY_VISIT_ROW_FIELDS \ diff --git a/chrome/browser/history/visit_database_unittest.cc b/chrome/browser/history/visit_database_unittest.cc index eb7e8c9..b8cde8f 100644 --- a/chrome/browser/history/visit_database_unittest.cc +++ b/chrome/browser/history/visit_database_unittest.cc @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "app/sql/connection.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/path_service.h" @@ -10,6 +9,7 @@ #include "base/string_util.h" #include "chrome/browser/history/url_database.h" #include "chrome/browser/history/visit_database.h" +#include "sql/connection.h" #include "testing/gtest/include/gtest/gtest.h" #include "testing/platform_test.h" diff --git a/chrome/browser/history/visitsegment_database.cc b/chrome/browser/history/visitsegment_database.cc index f4c4f9f..f0b04a9 100644 --- a/chrome/browser/history/visitsegment_database.cc +++ b/chrome/browser/history/visitsegment_database.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -10,12 +10,12 @@ #include <string> #include <vector> -#include "app/sql/statement.h" #include "base/logging.h" #include "base/stl_util-inl.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/history/page_usage_data.h" +#include "sql/statement.h" // The following tables are used to store url segment information. // diff --git a/chrome/browser/importer/firefox3_importer.cc b/chrome/browser/importer/firefox3_importer.cc index fbccd93..876d770 100644 --- a/chrome/browser/importer/firefox3_importer.cc +++ b/chrome/browser/importer/firefox3_importer.cc @@ -6,8 +6,6 @@ #include <set> -#include "app/sql/connection.h" -#include "app/sql/statement.h" #include "base/file_util.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop.h" @@ -26,6 +24,8 @@ #include "content/browser/browser_thread.h" #include "googleurl/src/gurl.h" #include "grit/generated_resources.h" +#include "sql/connection.h" +#include "sql/statement.h" #include "webkit/glue/password_form.h" namespace { diff --git a/chrome/browser/importer/nss_decryptor.cc b/chrome/browser/importer/nss_decryptor.cc index 277e0a4..d837c20 100644 --- a/chrome/browser/importer/nss_decryptor.cc +++ b/chrome/browser/importer/nss_decryptor.cc @@ -7,13 +7,13 @@ #include <string> #include <vector> -#include "app/sql/connection.h" -#include "app/sql/statement.h" #include "base/base64.h" #include "base/memory/scoped_ptr.h" #include "base/string_split.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" +#include "sql/connection.h" +#include "sql/statement.h" #include "webkit/glue/password_form.h" #if defined(USE_NSS) diff --git a/chrome/browser/importer/safari_importer.mm b/chrome/browser/importer/safari_importer.mm index f4bbfd1..93e4a5e 100644 --- a/chrome/browser/importer/safari_importer.mm +++ b/chrome/browser/importer/safari_importer.mm @@ -9,7 +9,6 @@ #include <map> #include <vector> -#include "app/sql/statement.h" #include "base/file_util.h" #include "base/mac/mac_util.h" #include "base/memory/scoped_nsobject.h" @@ -24,6 +23,7 @@ #include "googleurl/src/gurl.h" #include "grit/generated_resources.h" #include "net/base/data_url.h" +#include "sql/statement.h" namespace { diff --git a/chrome/browser/importer/safari_importer_unittest.mm b/chrome/browser/importer/safari_importer_unittest.mm index edd5c50..bb51b91 100644 --- a/chrome/browser/importer/safari_importer_unittest.mm +++ b/chrome/browser/importer/safari_importer_unittest.mm @@ -4,7 +4,6 @@ #include "chrome/browser/importer/safari_importer.h" -#include "app/sql/connection.h" #include "base/basictypes.h" #include "base/file_path.h" #include "base/file_util.h" @@ -16,6 +15,7 @@ #include "chrome/browser/history/history_types.h" #include "chrome/browser/importer/importer_bridge.h" #include "chrome/common/chrome_paths.h" +#include "sql/connection.h" #include "testing/platform_test.h" // In order to test the Safari import functionality effectively, we store a diff --git a/chrome/browser/net/sqlite_persistent_cookie_store.cc b/chrome/browser/net/sqlite_persistent_cookie_store.cc index 0afa5e9..7e8b238 100644 --- a/chrome/browser/net/sqlite_persistent_cookie_store.cc +++ b/chrome/browser/net/sqlite_persistent_cookie_store.cc @@ -6,9 +6,6 @@ #include <list> -#include "app/sql/meta_table.h" -#include "app/sql/statement.h" -#include "app/sql/transaction.h" #include "base/basictypes.h" #include "base/file_path.h" #include "base/file_util.h" @@ -22,6 +19,9 @@ #include "chrome/browser/diagnostics/sqlite_diagnostics.h" #include "content/browser/browser_thread.h" #include "googleurl/src/gurl.h" +#include "sql/meta_table.h" +#include "sql/statement.h" +#include "sql/transaction.h" using base::Time; diff --git a/chrome/browser/password_manager/login_database.cc b/chrome/browser/password_manager/login_database.cc index a7c26b4..47e0193 100644 --- a/chrome/browser/password_manager/login_database.cc +++ b/chrome/browser/password_manager/login_database.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,14 +7,14 @@ #include <algorithm> #include <limits> -#include "app/sql/statement.h" -#include "app/sql/transaction.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/time.h" #include "base/utf_string_conversions.h" +#include "sql/statement.h" +#include "sql/transaction.h" using webkit_glue::PasswordForm; diff --git a/chrome/browser/password_manager/login_database.h b/chrome/browser/password_manager/login_database.h index f4fe724..e91078d 100644 --- a/chrome/browser/password_manager/login_database.h +++ b/chrome/browser/password_manager/login_database.h @@ -9,10 +9,10 @@ #include <string> #include <vector> -#include "app/sql/connection.h" -#include "app/sql/meta_table.h" #include "base/file_path.h" #include "base/string16.h" +#include "sql/connection.h" +#include "sql/meta_table.h" #include "webkit/glue/password_form.h" // Interface to the database storage of login information, intended as a helper diff --git a/chrome/browser/safe_browsing/filter_false_positive_perftest.cc b/chrome/browser/safe_browsing/filter_false_positive_perftest.cc index e69a59d..be48a4e 100644 --- a/chrome/browser/safe_browsing/filter_false_positive_perftest.cc +++ b/chrome/browser/safe_browsing/filter_false_positive_perftest.cc @@ -56,7 +56,6 @@ #include <fstream> #include <vector> -#include "app/sql/statement.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" @@ -67,11 +66,12 @@ #include "base/string_number_conversions.h" #include "base/string_util.h" #include "base/time.h" -#include "crypto/sha2.h" #include "chrome/browser/safe_browsing/bloom_filter.h" #include "chrome/browser/safe_browsing/safe_browsing_util.h" #include "chrome/common/chrome_paths.h" +#include "crypto/sha2.h" #include "googleurl/src/gurl.h" +#include "sql/statement.h" #include "testing/gtest/include/gtest/gtest.h" using base::Time; diff --git a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc index d9dd131e..634797e 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc +++ b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc @@ -4,8 +4,6 @@ // // Unit tests for the SafeBrowsing storage system. -#include "app/sql/connection.h" -#include "app/sql/statement.h" #include "base/file_util.h" #include "base/logging.h" #include "base/message_loop.h" @@ -17,6 +15,8 @@ #include "content/browser/browser_thread.h" #include "crypto/sha2.h" #include "googleurl/src/gurl.h" +#include "sql/connection.h" +#include "sql/statement.h" #include "testing/gtest/include/gtest/gtest.h" #include "testing/platform_test.h" diff --git a/chrome/browser/sync/syncable/directory_backing_store_unittest.cc b/chrome/browser/sync/syncable/directory_backing_store_unittest.cc index a53798f..892298a5 100644 --- a/chrome/browser/sync/syncable/directory_backing_store_unittest.cc +++ b/chrome/browser/sync/syncable/directory_backing_store_unittest.cc @@ -6,8 +6,6 @@ #include <string> -#include "app/sql/connection.h" -#include "app/sql/statement.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/memory/scoped_ptr.h" @@ -20,6 +18,8 @@ #include "chrome/browser/sync/syncable/directory_manager.h" #include "chrome/browser/sync/syncable/syncable-inl.h" #include "chrome/browser/sync/syncable/syncable.h" +#include "sql/connection.h" +#include "sql/statement.h" #include "testing/gtest/include/gtest/gtest-param-test.h" namespace syncable { diff --git a/chrome/browser/sync/util/user_settings_unittest.cc b/chrome/browser/sync/util/user_settings_unittest.cc index 0aa57d4..027875d 100644 --- a/chrome/browser/sync/util/user_settings_unittest.cc +++ b/chrome/browser/sync/util/user_settings_unittest.cc @@ -5,7 +5,6 @@ #include <limits> #include <string> -#include "app/sql/statement.h" #include "base/file_util.h" #include "base/scoped_temp_dir.h" #include "base/utf_string_conversions.h" @@ -13,6 +12,7 @@ #include "chrome/browser/password_manager/encryptor.h" #include "chrome/browser/sync/syncable/directory_manager.h" #include "chrome/browser/sync/util/user_settings.h" +#include "sql/statement.h" #include "testing/gtest/include/gtest/gtest.h" using std::numeric_limits; diff --git a/chrome/browser/webdata/autofill_table.cc b/chrome/browser/webdata/autofill_table.cc index 8e5242a..ff687c7 100644 --- a/chrome/browser/webdata/autofill_table.cc +++ b/chrome/browser/webdata/autofill_table.cc @@ -11,7 +11,6 @@ #include <string> #include <vector> -#include "app/sql/statement.h" #include "base/i18n/case_conversion.h" #include "base/logging.h" #include "base/string_number_conversions.h" @@ -25,6 +24,7 @@ #include "chrome/browser/password_manager/encryptor.h" #include "chrome/browser/webdata/autofill_change.h" #include "chrome/common/guid.h" +#include "sql/statement.h" #include "ui/base/l10n/l10n_util.h" #include "webkit/glue/form_field.h" diff --git a/chrome/browser/webdata/autofill_table_unittest.cc b/chrome/browser/webdata/autofill_table_unittest.cc index 536437d..a7c4655 100644 --- a/chrome/browser/webdata/autofill_table_unittest.cc +++ b/chrome/browser/webdata/autofill_table_unittest.cc @@ -4,13 +4,11 @@ #include <vector> -#include "app/sql/statement.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/string_number_conversions.h" #include "base/time.h" #include "base/utf_string_conversions.h" -#include "chrome/common/chrome_paths.h" #include "chrome/browser/autofill/autofill_profile.h" #include "chrome/browser/autofill/autofill_type.h" #include "chrome/browser/autofill/credit_card.h" @@ -18,7 +16,9 @@ #include "chrome/browser/webdata/autofill_change.h" #include "chrome/browser/webdata/autofill_entry.h" #include "chrome/browser/webdata/web_database.h" +#include "chrome/common/chrome_paths.h" #include "chrome/common/guid.h" +#include "sql/statement.h" #include "testing/gtest/include/gtest/gtest.h" #include "webkit/glue/form_field.h" diff --git a/chrome/browser/webdata/keyword_table.cc b/chrome/browser/webdata/keyword_table.cc index 8a10bb0..c7d2a7f 100644 --- a/chrome/browser/webdata/keyword_table.cc +++ b/chrome/browser/webdata/keyword_table.cc @@ -4,7 +4,6 @@ #include "chrome/browser/webdata/keyword_table.h" -#include "app/sql/statement.h" #include "base/logging.h" #include "base/string_split.h" #include "base/string_util.h" @@ -12,6 +11,7 @@ #include "chrome/browser/history/history_database.h" #include "chrome/browser/search_engines/template_url.h" #include "googleurl/src/gurl.h" +#include "sql/statement.h" using base::Time; diff --git a/chrome/browser/webdata/logins_table.cc b/chrome/browser/webdata/logins_table.cc index cfa28aa..a1dc2ba 100644 --- a/chrome/browser/webdata/logins_table.cc +++ b/chrome/browser/webdata/logins_table.cc @@ -7,9 +7,9 @@ #include <limits> #include <string> -#include "app/sql/statement.h" #include "base/logging.h" #include "chrome/browser/password_manager/encryptor.h" +#include "sql/statement.h" #include "webkit/glue/password_form.h" using webkit_glue::PasswordForm; diff --git a/chrome/browser/webdata/logins_table_win.cc b/chrome/browser/webdata/logins_table_win.cc index 3445f42..581c176 100644 --- a/chrome/browser/webdata/logins_table_win.cc +++ b/chrome/browser/webdata/logins_table_win.cc @@ -4,11 +4,11 @@ #include "chrome/browser/webdata/logins_table.h" -#include "app/sql/statement.h" #include "base/logging.h" #include "base/time.h" #include "base/utf_string_conversions.h" #include "chrome/browser/password_manager/ie7_password.h" +#include "sql/statement.h" bool LoginsTable::AddIE7Login(const IE7PasswordInfo& info) { sql::Statement s(db_->GetUniqueStatement( diff --git a/chrome/browser/webdata/token_service_table.cc b/chrome/browser/webdata/token_service_table.cc index 8567112..6d9a737 100644 --- a/chrome/browser/webdata/token_service_table.cc +++ b/chrome/browser/webdata/token_service_table.cc @@ -7,9 +7,9 @@ #include <map> #include <string> -#include "app/sql/statement.h" #include "base/logging.h" #include "chrome/browser/password_manager/encryptor.h" +#include "sql/statement.h" bool TokenServiceTable::Init() { if (!db_->DoesTableExist("token_service")) { diff --git a/chrome/browser/webdata/web_apps_table.cc b/chrome/browser/webdata/web_apps_table.cc index 2b8812c..7df48f7 100644 --- a/chrome/browser/webdata/web_apps_table.cc +++ b/chrome/browser/webdata/web_apps_table.cc @@ -4,10 +4,10 @@ #include "chrome/browser/webdata/web_apps_table.h" -#include "app/sql/statement.h" #include "base/logging.h" #include "chrome/browser/history/history_database.h" #include "googleurl/src/gurl.h" +#include "sql/statement.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/gfx/codec/png_codec.h" diff --git a/chrome/browser/webdata/web_data_service.h b/chrome/browser/webdata/web_data_service.h index 2f3c430..a120001 100644 --- a/chrome/browser/webdata/web_data_service.h +++ b/chrome/browser/webdata/web_data_service.h @@ -10,12 +10,12 @@ #include <string> #include <vector> -#include "app/sql/init_status.h" #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "base/synchronization/lock.h" #include "chrome/browser/search_engines/template_url_id.h" #include "content/browser/browser_thread.h" +#include "sql/init_status.h" class AutofillChange; class AutofillProfile; diff --git a/chrome/browser/webdata/web_database.cc b/chrome/browser/webdata/web_database.cc index e868f7d..dabf5e1 100644 --- a/chrome/browser/webdata/web_database.cc +++ b/chrome/browser/webdata/web_database.cc @@ -6,10 +6,10 @@ #include <algorithm> -#include "app/sql/statement.h" -#include "app/sql/transaction.h" #include "chrome/browser/diagnostics/sqlite_diagnostics.h" #include "content/common/notification_service.h" +#include "sql/statement.h" +#include "sql/transaction.h" namespace { diff --git a/chrome/browser/webdata/web_database.h b/chrome/browser/webdata/web_database.h index e743f38..ed21e12 100644 --- a/chrome/browser/webdata/web_database.h +++ b/chrome/browser/webdata/web_database.h @@ -6,15 +6,15 @@ #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ #pragma once -#include "app/sql/connection.h" -#include "app/sql/init_status.h" -#include "app/sql/meta_table.h" #include "base/memory/scoped_ptr.h" #include "chrome/browser/webdata/autofill_table.h" #include "chrome/browser/webdata/keyword_table.h" #include "chrome/browser/webdata/logins_table.h" #include "chrome/browser/webdata/token_service_table.h" #include "chrome/browser/webdata/web_apps_table.h" +#include "sql/connection.h" +#include "sql/init_status.h" +#include "sql/meta_table.h" class FilePath; class NotificationService; diff --git a/chrome/browser/webdata/web_database_migration_unittest.cc b/chrome/browser/webdata/web_database_migration_unittest.cc index 61dcc61..4f4d1bd 100644 --- a/chrome/browser/webdata/web_database_migration_unittest.cc +++ b/chrome/browser/webdata/web_database_migration_unittest.cc @@ -4,7 +4,6 @@ #include <string> -#include "app/sql/statement.h" #include "base/file_util.h" #include "base/scoped_temp_dir.h" #include "base/stl_util-inl.h" @@ -22,6 +21,7 @@ #include "chrome/common/chrome_paths.h" #include "chrome/common/guid.h" #include "chrome/test/ui_test_utils.h" +#include "sql/statement.h" #include "testing/gtest/include/gtest/gtest.h" using base::Time; diff --git a/chrome/browser/webdata/web_database_table.h b/chrome/browser/webdata/web_database_table.h index ea3c5ec..feb60fd 100644 --- a/chrome/browser/webdata/web_database_table.h +++ b/chrome/browser/webdata/web_database_table.h @@ -6,9 +6,9 @@ #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_TABLE_H_ #pragma once -#include "app/sql/connection.h" -#include "app/sql/init_status.h" -#include "app/sql/meta_table.h" +#include "sql/connection.h" +#include "sql/init_status.h" +#include "sql/meta_table.h" // An abstract base class representing a table within a WebDatabase. // Each table should subclass this, adding type-specific methods as needed. |