OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #pragma once | |
8 | 7 |
9 #include <list> | 8 #include <list> |
10 #include <map> | 9 #include <map> |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "chrome/browser/history/history.h" | 13 #include "chrome/browser/history/history.h" |
15 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
16 #include "net/base/file_stream.h" | 15 #include "net/base/file_stream.h" |
17 | 16 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // thread is used. | 97 // thread is used. |
99 // Before writing to the file favicons are fetched on the main thread. | 98 // Before writing to the file favicons are fetched on the main thread. |
100 // TODO(sky): need a callback on failure. | 99 // TODO(sky): need a callback on failure. |
101 void WriteBookmarks(Profile* profile, | 100 void WriteBookmarks(Profile* profile, |
102 const FilePath& path, | 101 const FilePath& path, |
103 BookmarksExportObserver* observer); | 102 BookmarksExportObserver* observer); |
104 | 103 |
105 } // namespace bookmark_html_writer | 104 } // namespace bookmark_html_writer |
106 | 105 |
107 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ | 106 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ |
OLD | NEW |