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

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

Issue 3027041: Remove obviously unneeded forward declarations in chrome/browser/[abef]*/*.h. (Closed)
Patch Set: oops, missed one previously Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
11 #include <string> 11 #include <string>
12 12
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/values.h"
15 #include "chrome/browser/history/history.h" 14 #include "chrome/browser/history/history.h"
16 #include "chrome/common/notification_registrar.h" 15 #include "chrome/common/notification_registrar.h"
17 #include "net/base/file_stream.h" 16 #include "net/base/file_stream.h"
18 17
19 class BookmarkModel;
20 class BookmarkNode; 18 class BookmarkNode;
21 class DictionaryValue;
22 class FilePath; 19 class FilePath;
23 class GURL; 20 class GURL;
24 class Profile; 21 class Profile;
25 22
26 // Observer for bookmark html output. Used only in tests. 23 // Observer for bookmark html output. Used only in tests.
27 class BookmarksExportObserver { 24 class BookmarksExportObserver {
28 public: 25 public:
29 // Is invoked on the IO thread. 26 // Is invoked on the IO thread.
30 virtual void OnExportFinished() = 0; 27 virtual void OnExportFinished() = 0;
31 28
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // thread is used. 101 // thread is used.
105 // Before writing to the file favicons are fetched on the main thread. 102 // Before writing to the file favicons are fetched on the main thread.
106 // TODO(sky): need a callback on failure. 103 // TODO(sky): need a callback on failure.
107 void WriteBookmarks(Profile* profile, 104 void WriteBookmarks(Profile* profile,
108 const FilePath& path, 105 const FilePath& path,
109 BookmarksExportObserver* observer); 106 BookmarksExportObserver* observer);
110 107
111 } // namespace bookmark_html_writer 108 } // namespace bookmark_html_writer
112 109
113 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_ 110 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_HTML_WRITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698