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

Side by Side Diff: chrome/browser/history/android/android_urls_database.h

Issue 584013002: Componentize history_types.{cc,h} and android_history_types.{cc,h} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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
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 #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
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_
OLDNEW
« no previous file with comments | « chrome/browser/history/android/android_provider_backend.h ('k') | chrome/browser/history/android/sql_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698