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

Side by Side Diff: chrome/browser/extensions/api/bookmarks/bookmarks_api.cc

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit 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
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/extensions/api/bookmarks/bookmarks_api.h" 5 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/i18n/file_util_icu.h" 9 #include "base/i18n/file_util_icu.h"
10 #include "base/i18n/time_formatting.h" 10 #include "base/i18n/time_formatting.h"
(...skipping 17 matching lines...) Expand all
28 #include "chrome/browser/importer/external_process_importer_host.h" 28 #include "chrome/browser/importer/external_process_importer_host.h"
29 #include "chrome/browser/importer/importer_uma.h" 29 #include "chrome/browser/importer/importer_uma.h"
30 #include "chrome/browser/platform_util.h" 30 #include "chrome/browser/platform_util.h"
31 #include "chrome/browser/profiles/profile.h" 31 #include "chrome/browser/profiles/profile.h"
32 #include "chrome/browser/ui/chrome_select_file_policy.h" 32 #include "chrome/browser/ui/chrome_select_file_policy.h"
33 #include "chrome/browser/ui/host_desktop.h" 33 #include "chrome/browser/ui/host_desktop.h"
34 #include "chrome/common/chrome_paths.h" 34 #include "chrome/common/chrome_paths.h"
35 #include "chrome/common/extensions/api/bookmarks.h" 35 #include "chrome/common/extensions/api/bookmarks.h"
36 #include "chrome/common/importer/importer_data_types.h" 36 #include "chrome/common/importer/importer_data_types.h"
37 #include "chrome/common/pref_names.h" 37 #include "chrome/common/pref_names.h"
38 #include "components/bookmarks/core/browser/bookmark_model.h" 38 #include "components/bookmarks/browser/bookmark_model.h"
39 #include "components/bookmarks/core/browser/bookmark_utils.h" 39 #include "components/bookmarks/browser/bookmark_utils.h"
40 #include "components/user_prefs/user_prefs.h" 40 #include "components/user_prefs/user_prefs.h"
41 #include "content/public/browser/browser_context.h" 41 #include "content/public/browser/browser_context.h"
42 #include "content/public/browser/notification_service.h" 42 #include "content/public/browser/notification_service.h"
43 #include "content/public/browser/web_contents.h" 43 #include "content/public/browser/web_contents.h"
44 #include "extensions/browser/event_router.h" 44 #include "extensions/browser/event_router.h"
45 #include "extensions/browser/extension_function_dispatcher.h" 45 #include "extensions/browser/extension_function_dispatcher.h"
46 #include "extensions/browser/quota_service.h" 46 #include "extensions/browser/quota_service.h"
47 #include "grit/generated_resources.h" 47 #include "grit/generated_resources.h"
48 #include "ui/base/l10n/l10n_util.h" 48 #include "ui/base/l10n/l10n_util.h"
49 49
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 #if !defined(OS_ANDROID) 1025 #if !defined(OS_ANDROID)
1026 // Android does not have support for the standard exporter. 1026 // Android does not have support for the standard exporter.
1027 // TODO(jgreenwald): remove ifdef once extensions are no longer built on 1027 // TODO(jgreenwald): remove ifdef once extensions are no longer built on
1028 // Android. 1028 // Android.
1029 bookmark_html_writer::WriteBookmarks(GetProfile(), path, NULL); 1029 bookmark_html_writer::WriteBookmarks(GetProfile(), path, NULL);
1030 #endif 1030 #endif
1031 Release(); // Balanced in BookmarksIOFunction::SelectFile() 1031 Release(); // Balanced in BookmarksIOFunction::SelectFile()
1032 } 1032 }
1033 1033
1034 } // namespace extensions 1034 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698