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

Side by Side Diff: chrome/browser/bookmarks/bookmark_html_writer.h

Issue 342068: Third patch in getting rid of caching MessageLoop pointers and always using C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_
7 7
8 class BookmarkModel; 8 class BookmarkModel;
9 class FilePath; 9 class FilePath;
10 class MessageLoop; 10 class MessageLoop;
11 11
12 namespace bookmark_html_writer { 12 namespace bookmark_html_writer {
13 13
14 // Writes the bookmarks out in the 'bookmarks.html' format understood by 14 // Writes the bookmarks out in the 'bookmarks.html' format understood by
15 // Firefox and IE. The results are written to the file at |path|. 15 // Firefox and IE. The results are written to the file at |path|. The file
16 // If |thread| is non-null, writing is done on that thread, otherwise 16 // thread is used.
17 // writing is synchronous.
18 // 17 //
19 // TODO(sky): need a callback on failure. 18 // TODO(sky): need a callback on failure.
20 void WriteBookmarks(MessageLoop* thread, 19 void WriteBookmarks(BookmarkModel* model, const FilePath& path);
21 BookmarkModel* model,
22 const FilePath& path);
23 20
24 } 21 }
25 22
26 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ 23 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_folder_tree_model_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_html_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698