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

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

Issue 18555005: Move importer messages to common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 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 13 matching lines...) Expand all
24 #include "chrome/browser/bookmarks/bookmark_model.h" 24 #include "chrome/browser/bookmarks/bookmark_model.h"
25 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 25 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
26 #include "chrome/browser/bookmarks/bookmark_utils.h" 26 #include "chrome/browser/bookmarks/bookmark_utils.h"
27 #include "chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h" 27 #include "chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h"
28 #include "chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.h" 28 #include "chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.h"
29 #include "chrome/browser/extensions/event_router.h" 29 #include "chrome/browser/extensions/event_router.h"
30 #include "chrome/browser/extensions/extension_function_dispatcher.h" 30 #include "chrome/browser/extensions/extension_function_dispatcher.h"
31 #include "chrome/browser/extensions/extension_system.h" 31 #include "chrome/browser/extensions/extension_system.h"
32 #include "chrome/browser/extensions/extensions_quota_service.h" 32 #include "chrome/browser/extensions/extensions_quota_service.h"
33 #include "chrome/browser/importer/external_process_importer_host.h" 33 #include "chrome/browser/importer/external_process_importer_host.h"
34 #include "chrome/browser/importer/importer_data_types.h" 34 #include "chrome/browser/importer/importer_creator.h"
35 #include "chrome/browser/importer/importer_type.h"
36 #include "chrome/browser/profiles/profile.h" 35 #include "chrome/browser/profiles/profile.h"
37 #include "chrome/browser/ui/chrome_select_file_policy.h" 36 #include "chrome/browser/ui/chrome_select_file_policy.h"
38 #include "chrome/common/chrome_notification_types.h" 37 #include "chrome/common/chrome_notification_types.h"
39 #include "chrome/common/chrome_paths.h" 38 #include "chrome/common/chrome_paths.h"
40 #include "chrome/common/extensions/api/bookmarks.h" 39 #include "chrome/common/extensions/api/bookmarks.h"
40 #include "chrome/common/importer/importer_data_types.h"
41 #include "chrome/common/pref_names.h" 41 #include "chrome/common/pref_names.h"
42 #include "components/user_prefs/user_prefs.h" 42 #include "components/user_prefs/user_prefs.h"
43 #include "content/public/browser/notification_service.h" 43 #include "content/public/browser/notification_service.h"
44 #include "grit/generated_resources.h" 44 #include "grit/generated_resources.h"
45 #include "ui/base/l10n/l10n_util.h" 45 #include "ui/base/l10n/l10n_util.h"
46 46
47 namespace extensions { 47 namespace extensions {
48 48
49 namespace keys = bookmark_api_constants; 49 namespace keys = bookmark_api_constants;
50 namespace bookmarks = api::bookmarks; 50 namespace bookmarks = api::bookmarks;
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 #if !defined(OS_ANDROID) 1005 #if !defined(OS_ANDROID)
1006 // Android does not have support for the standard exporter. 1006 // Android does not have support for the standard exporter.
1007 // TODO(jgreenwald): remove ifdef once extensions are no longer built on 1007 // TODO(jgreenwald): remove ifdef once extensions are no longer built on
1008 // Android. 1008 // Android.
1009 bookmark_html_writer::WriteBookmarks(profile(), path, NULL); 1009 bookmark_html_writer::WriteBookmarks(profile(), path, NULL);
1010 #endif 1010 #endif
1011 Release(); // Balanced in BookmarksIOFunction::SelectFile() 1011 Release(); // Balanced in BookmarksIOFunction::SelectFile()
1012 } 1012 }
1013 1013
1014 } // namespace extensions 1014 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.h ('k') | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698