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

Side by Side Diff: chrome/browser/importer/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_IMPORTER_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_H_ 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual bool TemplateURLModelIsLoaded() const; 66 virtual bool TemplateURLModelIsLoaded() const;
67 virtual void AddTemplateURLModelObserver( 67 virtual void AddTemplateURLModelObserver(
68 NotificationObserver* observer); 68 NotificationObserver* observer);
69 69
70 // A bookmark entry. 70 // A bookmark entry.
71 struct BookmarkEntry { 71 struct BookmarkEntry {
72 bool in_toolbar; 72 bool in_toolbar;
73 GURL url; 73 GURL url;
74 std::vector<std::wstring> path; 74 std::vector<std::wstring> path;
75 std::wstring title; 75 std::wstring title;
76 Time creation_time; 76 base::Time creation_time;
77 77
78 BookmarkEntry() : in_toolbar(false) {} 78 BookmarkEntry() : in_toolbar(false) {}
79 }; 79 };
80 80
81 // Helper methods for adding data to local stores. 81 // Helper methods for adding data to local stores.
82 virtual void AddPasswordForm(const PasswordForm& form); 82 virtual void AddPasswordForm(const PasswordForm& form);
83 virtual void AddIE7PasswordInfo(const IE7PasswordInfo& info); 83 virtual void AddIE7PasswordInfo(const IE7PasswordInfo& info);
84 virtual void AddHistoryPage(const std::vector<history::URLRow>& page); 84 virtual void AddHistoryPage(const std::vector<history::URLRow>& page);
85 virtual void AddHomepage(const GURL& homepage); 85 virtual void AddHomepage(const GURL& homepage);
86 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark); 86 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark);
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 void StartImportingWithUI(HWND parent_window, 348 void StartImportingWithUI(HWND parent_window,
349 int16 items, 349 int16 items,
350 ImporterHost* coordinator, 350 ImporterHost* coordinator,
351 const ProfileInfo& source_profile, 351 const ProfileInfo& source_profile,
352 Profile* target_profile, 352 Profile* target_profile,
353 ImportObserver* observer, 353 ImportObserver* observer,
354 bool first_run); 354 bool first_run);
355 355
356 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ 356 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_
357 357
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698