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

Side by Side Diff: chrome/browser/ui/app_list/app_list_syncable_service.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/app_list/app_list_syncable_service.h" 5 #include "chrome/browser/ui/app_list/app_list_syncable_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/apps/drive/drive_app_provider.h" 13 #include "chrome/browser/apps/drive/drive_app_provider.h"
14 #include "chrome/browser/extensions/extension_service.h" 14 #include "chrome/browser/extensions/extension_service.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/ui/app_list/app_list_prefs.h" 16 #include "chrome/browser/ui/app_list/app_list_prefs.h"
17 #include "chrome/browser/ui/app_list/app_list_service.h" 17 #include "chrome/browser/ui/app_list/app_list_service.h"
18 #include "chrome/browser/ui/app_list/extension_app_item.h" 18 #include "chrome/browser/ui/app_list/extension_app_item.h"
19 #include "chrome/browser/ui/app_list/extension_app_model_builder.h" 19 #include "chrome/browser/ui/app_list/extension_app_model_builder.h"
20 #include "chrome/browser/ui/app_list/model_pref_updater.h" 20 #include "chrome/browser/ui/app_list/model_pref_updater.h"
21 #include "chrome/common/chrome_switches.h" 21 #include "chrome/common/chrome_switches.h"
22 #include "chrome/common/extensions/extension_constants.h" 22 #include "chrome/common/extensions/extension_constants.h"
23 #include "chrome/grit/generated_resources.h" 23 #include "chrome/grit/generated_resources.h"
24 #include "components/sync/api/sync_change_processor.h"
25 #include "components/sync/api/sync_data.h"
26 #include "components/sync/api/sync_merge_result.h"
27 #include "components/sync/protocol/sync.pb.h"
24 #include "extensions/browser/extension_prefs.h" 28 #include "extensions/browser/extension_prefs.h"
25 #include "extensions/browser/extension_system.h" 29 #include "extensions/browser/extension_system.h"
26 #include "extensions/browser/uninstall_reason.h" 30 #include "extensions/browser/uninstall_reason.h"
27 #include "extensions/common/constants.h" 31 #include "extensions/common/constants.h"
28 #include "sync/api/sync_change_processor.h"
29 #include "sync/api/sync_data.h"
30 #include "sync/api/sync_merge_result.h"
31 #include "sync/protocol/sync.pb.h"
32 #include "ui/app_list/app_list_folder_item.h" 32 #include "ui/app_list/app_list_folder_item.h"
33 #include "ui/app_list/app_list_item.h" 33 #include "ui/app_list/app_list_item.h"
34 #include "ui/app_list/app_list_model.h" 34 #include "ui/app_list/app_list_model.h"
35 #include "ui/app_list/app_list_model_observer.h" 35 #include "ui/app_list/app_list_model_observer.h"
36 #include "ui/app_list/app_list_switches.h" 36 #include "ui/app_list/app_list_switches.h"
37 #include "ui/base/l10n/l10n_util.h" 37 #include "ui/base/l10n/l10n_util.h"
38 38
39 #if defined(OS_CHROMEOS) 39 #if defined(OS_CHROMEOS)
40 #include "chrome/browser/chromeos/file_manager/app_id.h" 40 #include "chrome/browser/chromeos/file_manager/app_id.h"
41 #include "chrome/browser/chromeos/genius_app/app_id.h" 41 #include "chrome/browser/chromeos/genius_app/app_id.h"
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 res += " { " + item_name + " }"; 1061 res += " { " + item_name + " }";
1062 res += " [" + item_ordinal.ToDebugString() + "]"; 1062 res += " [" + item_ordinal.ToDebugString() + "]";
1063 if (!parent_id.empty()) 1063 if (!parent_id.empty())
1064 res += " <" + parent_id.substr(0, 8) + ">"; 1064 res += " <" + parent_id.substr(0, 8) + ">";
1065 res += " [" + item_pin_ordinal.ToDebugString() + "]"; 1065 res += " [" + item_pin_ordinal.ToDebugString() + "]";
1066 } 1066 }
1067 return res; 1067 return res;
1068 } 1068 }
1069 1069
1070 } // namespace app_list 1070 } // namespace app_list
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_syncable_service.h ('k') | chrome/browser/ui/app_list/extension_app_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698