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

Side by Side Diff: chrome/browser/importer/firefox3_importer.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_IMPORTER_FIREFOX3_IMPORTER_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_FIREFOX3_IMPORTER_H_
6 #define CHROME_BROWSER_IMPORTER_FIREFOX3_IMPORTER_H_ 6 #define CHROME_BROWSER_IMPORTER_FIREFOX3_IMPORTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 void GetSearchEnginesXMLFiles(std::vector<std::wstring>* files); 41 void GetSearchEnginesXMLFiles(std::vector<std::wstring>* files);
42 42
43 // The struct stores the information about a bookmark item. 43 // The struct stores the information about a bookmark item.
44 struct BookmarkItem { 44 struct BookmarkItem {
45 int parent; 45 int parent;
46 int id; 46 int id;
47 GURL url; 47 GURL url;
48 std::wstring title; 48 std::wstring title;
49 int type; 49 int type;
50 std::string keyword; 50 std::string keyword;
51 Time date_added; 51 base::Time date_added;
52 int64 favicon; 52 int64 favicon;
53 }; 53 };
54 typedef std::vector<BookmarkItem*> BookmarkList; 54 typedef std::vector<BookmarkItem*> BookmarkList;
55 55
56 // Gets the specific IDs of bookmark root node from |db|. 56 // Gets the specific IDs of bookmark root node from |db|.
57 void LoadRootNodeID(sqlite3* db, int* toolbar_folder_id, 57 void LoadRootNodeID(sqlite3* db, int* toolbar_folder_id,
58 int* menu_folder_id, int* unsorted_folder_id); 58 int* menu_folder_id, int* unsorted_folder_id);
59 59
60 // Loads all livemark IDs from database |db|. 60 // Loads all livemark IDs from database |db|.
61 void LoadLivemarkIDs(sqlite3* db, std::set<int>* livemark); 61 void LoadLivemarkIDs(sqlite3* db, std::set<int>* livemark);
(...skipping 14 matching lines...) Expand all
76 76
77 ProfileWriter* writer_; 77 ProfileWriter* writer_;
78 std::wstring source_path_; 78 std::wstring source_path_;
79 std::wstring app_path_; 79 std::wstring app_path_;
80 80
81 DISALLOW_EVIL_CONSTRUCTORS(Firefox3Importer); 81 DISALLOW_EVIL_CONSTRUCTORS(Firefox3Importer);
82 }; 82 };
83 83
84 #endif // CHROME_BROWSER_IMPORTER_FIREFOX3_IMPORTER_H_ 84 #endif // CHROME_BROWSER_IMPORTER_FIREFOX3_IMPORTER_H_
85 85
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698