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

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

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "app/l10n_util.h"
7 #include "base/file_path.h" 8 #include "base/file_path.h"
8 #include "base/file_util.h" 9 #include "base/file_util.h"
9 #include "base/message_loop.h" 10 #include "base/message_loop.h"
10 #include "base/platform_file.h" 11 #include "base/platform_file.h"
11 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
12 #include "base/string_util.h" 13 #include "base/string_util.h"
13 #include "base/time.h" 14 #include "base/time.h"
14 #include "base/values.h" 15 #include "base/values.h"
15 #include "chrome/browser/bookmarks/bookmark_codec.h" 16 #include "chrome/browser/bookmarks/bookmark_codec.h"
16 #include "chrome/browser/bookmarks/bookmark_model.h" 17 #include "chrome/browser/bookmarks/bookmark_model.h"
17 #include "chrome/browser/history/history_types.h" 18 #include "chrome/browser/history/history_types.h"
18 #include "chrome/common/l10n_util.h"
19 #include "grit/generated_resources.h" 19 #include "grit/generated_resources.h"
20 #include "net/base/escape.h" 20 #include "net/base/escape.h"
21 #include "net/base/file_stream.h" 21 #include "net/base/file_stream.h"
22 #include "net/base/net_errors.h" 22 #include "net/base/net_errors.h"
23 23
24 namespace bookmark_html_writer { 24 namespace bookmark_html_writer {
25 25
26 namespace { 26 namespace {
27 27
28 // File header. 28 // File header.
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 BookmarkCodec codec; 326 BookmarkCodec codec;
327 scoped_ptr<Writer> writer(new Writer(codec.Encode(model), 327 scoped_ptr<Writer> writer(new Writer(codec.Encode(model),
328 FilePath::FromWStringHack(path))); 328 FilePath::FromWStringHack(path)));
329 if (thread) 329 if (thread)
330 thread->PostTask(FROM_HERE, writer.release()); 330 thread->PostTask(FROM_HERE, writer.release());
331 else 331 else
332 writer->Run(); 332 writer->Run();
333 } 333 }
334 334
335 } // namespace bookmark_html_writer 335 } // namespace bookmark_html_writer
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_folder_tree_model.cc ('k') | chrome/browser/bookmarks/bookmark_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698