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

Side by Side Diff: chrome/browser/extensions/extension_bookmarks_module.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/extensions/extension_bookmarks_module.h" 5 #include "chrome/browser/extensions/extension_bookmarks_module.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/i18n/file_util_icu.h" 8 #include "base/i18n/file_util_icu.h"
9 #include "base/i18n/time_formatting.h" 9 #include "base/i18n/time_formatting.h"
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/sha1.h" 12 #include "base/sha1.h"
13 #include "base/stl_util-inl.h" 13 #include "base/stl_util.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/string_number_conversions.h" 15 #include "base/string_number_conversions.h"
16 #include "base/string_util.h" 16 #include "base/string_util.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
19 #include "chrome/browser/bookmarks/bookmark_codec.h" 19 #include "chrome/browser/bookmarks/bookmark_codec.h"
20 #include "chrome/browser/bookmarks/bookmark_html_writer.h" 20 #include "chrome/browser/bookmarks/bookmark_html_writer.h"
21 #include "chrome/browser/bookmarks/bookmark_model.h" 21 #include "chrome/browser/bookmarks/bookmark_model.h"
22 #include "chrome/browser/bookmarks/bookmark_utils.h" 22 #include "chrome/browser/bookmarks/bookmark_utils.h"
23 #include "chrome/browser/extensions/extension_bookmark_helpers.h" 23 #include "chrome/browser/extensions/extension_bookmark_helpers.h"
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 SelectFile(SelectFileDialog::SELECT_SAVEAS_FILE); 928 SelectFile(SelectFileDialog::SELECT_SAVEAS_FILE);
929 return true; 929 return true;
930 } 930 }
931 931
932 void ExportBookmarksFunction::FileSelected(const FilePath& path, 932 void ExportBookmarksFunction::FileSelected(const FilePath& path,
933 int index, 933 int index,
934 void* params) { 934 void* params) {
935 bookmark_html_writer::WriteBookmarks(profile(), path, NULL); 935 bookmark_html_writer::WriteBookmarks(profile(), path, NULL);
936 Release(); // Balanced in BookmarksIOFunction::SelectFile() 936 Release(); // Balanced in BookmarksIOFunction::SelectFile()
937 } 937 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698