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

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

Issue 273153003: Remove stray platform_file.h from chrome and components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove "using" Created 6 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #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/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file.h" 11 #include "base/files/file.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/platform_file.h"
15 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
16 #include "base/time/time.h" 15 #include "base/time/time.h"
17 #include "base/values.h" 16 #include "base/values.h"
18 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 17 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
19 #include "chrome/browser/chrome_notification_types.h" 18 #include "chrome/browser/chrome_notification_types.h"
20 #include "chrome/browser/favicon/favicon_service.h" 19 #include "chrome/browser/favicon/favicon_service.h"
21 #include "chrome/browser/favicon/favicon_service_factory.h" 20 #include "chrome/browser/favicon/favicon_service_factory.h"
22 #include "components/bookmarks/core/browser/bookmark_codec.h" 21 #include "components/bookmarks/core/browser/bookmark_codec.h"
23 #include "components/bookmarks/core/browser/bookmark_model.h" 22 #include "components/bookmarks/core/browser/bookmark_model.h"
24 #include "components/favicon_base/favicon_types.h" 23 #include "components/favicon_base/favicon_types.h"
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 // BookmarkModel isn't thread safe (nor would we want to lock it down 498 // BookmarkModel isn't thread safe (nor would we want to lock it down
500 // for the duration of the write), as such we make a copy of the 499 // for the duration of the write), as such we make a copy of the
501 // BookmarkModel using BookmarkCodec then write from that. 500 // BookmarkModel using BookmarkCodec then write from that.
502 if (fetcher == NULL) { 501 if (fetcher == NULL) {
503 fetcher = new BookmarkFaviconFetcher(profile, path, observer); 502 fetcher = new BookmarkFaviconFetcher(profile, path, observer);
504 fetcher->ExportBookmarks(); 503 fetcher->ExportBookmarks();
505 } 504 }
506 } 505 }
507 506
508 } // namespace bookmark_html_writer 507 } // namespace bookmark_html_writer
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698