OLD | NEW |
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 #ifndef CHROME_BROWSER_HISTORY_ANDROID_ANDROID_URLS_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_ANDROID_ANDROID_URLS_DATABASE_H_ |
6 #define CHROME_BROWSER_HISTORY_ANDROID_ANDROID_URLS_DATABASE_H_ | 6 #define CHROME_BROWSER_HISTORY_ANDROID_ANDROID_URLS_DATABASE_H_ |
7 | 7 |
8 #include "chrome/browser/history/android/android_history_types.h" | 8 #include "components/history/core/android/android_history_types.h" |
9 | 9 |
10 namespace history { | 10 namespace history { |
11 | 11 |
12 // The table is used to stores the raw url which was passed in from | 12 // The table is used to stores the raw url which was passed in from |
13 // ContentProvider APIs' client. | 13 // ContentProvider APIs' client. |
14 // | 14 // |
15 // Android BookmarmkCoulmns API allows the url without protocol like | 15 // Android BookmarmkCoulmns API allows the url without protocol like |
16 // "www.bookmarks.com", but Chrome requires the url to be unique, like | 16 // "www.bookmarks.com", but Chrome requires the url to be unique, like |
17 // "http://www.bookmarks.com/". To support client queries by the orignal URL, | 17 // "http://www.bookmarks.com/". To support client queries by the orignal URL, |
18 // the raw URL and corresponding URLID is stored in this table. | 18 // the raw URL and corresponding URLID is stored in this table. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // this class implements these functions to return its objects. | 64 // this class implements these functions to return its objects. |
65 virtual sql::Connection& GetDB() = 0; | 65 virtual sql::Connection& GetDB() = 0; |
66 | 66 |
67 private: | 67 private: |
68 DISALLOW_COPY_AND_ASSIGN(AndroidURLsDatabase); | 68 DISALLOW_COPY_AND_ASSIGN(AndroidURLsDatabase); |
69 }; | 69 }; |
70 | 70 |
71 } // namespace history | 71 } // namespace history |
72 | 72 |
73 #endif // CHROME_BROWSER_HISTORY_ANDROID_ANDROID_URLS_DATABASE_H_ | 73 #endif // CHROME_BROWSER_HISTORY_ANDROID_ANDROID_URLS_DATABASE_H_ |
OLD | NEW |