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

Unified Diff: chrome/browser/importer/profile_writer.h

Issue 7056033: Style cleanup in bookmarks import code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/importer/profile_import_process_client.h ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/profile_writer.h
diff --git a/chrome/browser/importer/profile_writer.h b/chrome/browser/importer/profile_writer.h
index c97d807fef2419c4fa233c631e86cef12784f57d..4a88db7e6d7e32a13d5280319391f6da83f15d14 100644
--- a/chrome/browser/importer/profile_writer.h
+++ b/chrome/browser/importer/profile_writer.h
@@ -33,10 +33,10 @@ class ProfileWriter : public base::RefCountedThreadSafe<ProfileWriter> {
public:
// Used to identify how the bookmarks are added.
enum BookmarkOptions {
- // Indicates the bookmark should only be added if unique. Uniqueness
- // is done by title, url and path. That is, if this is passed to
- // AddBookmarkEntry the bookmark is added only if there is no other
- // URL with the same url, path and title.
+ // Indicates the bookmark should only be added if unique. Uniqueness is done
+ // by title, url and path. That is, if this is passed to AddBookmarks, the
+ // bookmark is added only if there is no other URL with the same url, path
+ // and title.
ADD_IF_UNIQUE = 1 << 0,
// Indicates the bookmarks should be added to the bookmark bar.
@@ -90,9 +90,9 @@ class ProfileWriter : public base::RefCountedThreadSafe<ProfileWriter> {
// If |options| contains ADD_IF_UNIQUE, then the bookmark is added only
// if another bookmarks does not exist with the same title, path and
// url.
- virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark,
- const string16& first_folder_name,
- int options);
+ virtual void AddBookmarks(const std::vector<BookmarkEntry>& bookmark,
+ const string16& first_folder_name,
+ int options);
virtual void AddFavicons(
const std::vector<history::ImportedFaviconUsage>& favicons);
« no previous file with comments | « chrome/browser/importer/profile_import_process_client.h ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698