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

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

Issue 6594063: Update a bunch of files to the new location of browser_thread.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | Annotate | Revision Log
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 #include "chrome/browser/bookmarks/bookmark_html_writer.h" 5 #include "chrome/browser/bookmarks/bookmark_html_writer.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/platform_file.h" 11 #include "base/platform_file.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/browser/bookmarks/bookmark_codec.h" 16 #include "chrome/browser/bookmarks/bookmark_codec.h"
17 #include "chrome/browser/bookmarks/bookmark_model.h" 17 #include "chrome/browser/bookmarks/bookmark_model.h"
18 #include "chrome/browser/browser_thread.h"
19 #include "chrome/browser/history/history_types.h" 18 #include "chrome/browser/history/history_types.h"
20 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/common/notification_source.h" 20 #include "chrome/common/notification_source.h"
21 #include "content/browser/browser_thread.h"
22 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
23 #include "net/base/escape.h" 23 #include "net/base/escape.h"
24 #include "net/base/file_stream.h" 24 #include "net/base/file_stream.h"
25 #include "net/base/net_errors.h" 25 #include "net/base/net_errors.h"
26 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
27 27
28 namespace { 28 namespace {
29 29
30 static BookmarkFaviconFetcher* fetcher = NULL; 30 static BookmarkFaviconFetcher* fetcher = NULL;
31 31
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 // BookmarkModel isn't thread safe (nor would we want to lock it down 478 // BookmarkModel isn't thread safe (nor would we want to lock it down
479 // for the duration of the write), as such we make a copy of the 479 // for the duration of the write), as such we make a copy of the
480 // BookmarkModel using BookmarkCodec then write from that. 480 // BookmarkModel using BookmarkCodec then write from that.
481 if (fetcher == NULL) { 481 if (fetcher == NULL) {
482 fetcher = new BookmarkFaviconFetcher(profile, path, observer); 482 fetcher = new BookmarkFaviconFetcher(profile, path, observer);
483 fetcher->ExportBookmarks(); 483 fetcher->ExportBookmarks();
484 } 484 }
485 } 485 }
486 486
487 } // namespace bookmark_html_writer 487 } // namespace bookmark_html_writer
OLDNEW
« no previous file with comments | « chrome/browser/background_mode_manager_mac.mm ('k') | chrome/browser/bookmarks/bookmark_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698