Index: chrome/browser/bookmarks/bookmark_html_writer.h |
=================================================================== |
--- chrome/browser/bookmarks/bookmark_html_writer.h (revision 0) |
+++ chrome/browser/bookmarks/bookmark_html_writer.h (revision 0) |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ |
+#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ |
+ |
+#include <string> |
+ |
+class BookmarkModel; |
+class MessageLoop; |
+ |
+namespace bookmark_html_writer { |
+ |
+// Writes the bookmarks out in the 'bookmarks.html' format understood by |
+// Firefox and IE. The results are written to the file at |path|. |
+// If |thread| is non-null, writing is done on that thread, otherwise |
+// writing is synchronous. |
+// |
+// TODO(sky): need a callback on failure. |
+void WriteBookmarks(MessageLoop* thread, |
+ BookmarkModel* model, |
+ const std::wstring& path); |
+ |
+} |
+ |
+#endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ |
Property changes on: chrome\browser\bookmarks\bookmark_html_writer.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |