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

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

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 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/extension_sync_data.h" 5 #include "chrome/browser/extensions/extension_sync_data.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
11 #include "chrome/common/extensions/manifest_handlers/app_icon_color_info.h" 11 #include "chrome/common/extensions/manifest_handlers/app_icon_color_info.h"
12 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" 12 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
13 #include "chrome/common/extensions/manifest_handlers/linked_app_icons.h" 13 #include "chrome/common/extensions/manifest_handlers/linked_app_icons.h"
14 #include "components/crx_file/id_util.h" 14 #include "components/crx_file/id_util.h"
15 #include "components/sync/api/sync_data.h" 15 #include "components/sync/model/sync_data.h"
16 #include "components/sync/protocol/app_specifics.pb.h" 16 #include "components/sync/protocol/app_specifics.pb.h"
17 #include "components/sync/protocol/extension_specifics.pb.h" 17 #include "components/sync/protocol/extension_specifics.pb.h"
18 #include "components/sync/protocol/sync.pb.h" 18 #include "components/sync/protocol/sync.pb.h"
19 #include "extensions/common/extension.h" 19 #include "extensions/common/extension.h"
20 #include "extensions/common/manifest_url_handlers.h" 20 #include "extensions/common/manifest_url_handlers.h"
21 21
22 using syncer::StringOrdinal; 22 using syncer::StringOrdinal;
23 23
24 namespace extensions { 24 namespace extensions {
25 25
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 320
321 if (entity_specifics.has_extension()) 321 if (entity_specifics.has_extension())
322 return PopulateFromExtensionSpecifics(entity_specifics.extension()); 322 return PopulateFromExtensionSpecifics(entity_specifics.extension());
323 323
324 LOG(ERROR) << "Attempt to sync bad EntitySpecifics: no extension data."; 324 LOG(ERROR) << "Attempt to sync bad EntitySpecifics: no extension data.";
325 RecordBadSyncData(NO_EXTENSION_SPECIFICS); 325 RecordBadSyncData(NO_EXTENSION_SPECIFICS);
326 return false; 326 return false;
327 } 327 }
328 328
329 } // namespace extensions 329 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_sync_data.h ('k') | chrome/browser/extensions/extension_sync_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698