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

Side by Side Diff: chrome/browser/sync/glue/extension_sync.cc

Issue 7692003: Revert 97482 - Apps/Extensions Sync refactoring -- delete most of the old glue, implement new syn... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
Property Changes:
Added: svn:mergeinfo
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/sync/glue/extension_sync.h" 5 #include "chrome/browser/sync/glue/extension_sync.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/tracked.h" 10 #include "base/tracked.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 sync_api::WriteTransaction trans(FROM_HERE, user_share); 212 sync_api::WriteTransaction trans(FROM_HERE, user_share);
213 sync_api::WriteNode write_node(&trans); 213 sync_api::WriteNode write_node(&trans);
214 if (write_node.InitByClientTagLookup(traits.model_type, id)) { 214 if (write_node.InitByClientTagLookup(traits.model_type, id)) {
215 write_node.Remove(); 215 write_node.Remove();
216 } else { 216 } else {
217 LOG(ERROR) << "Server data does not exist for extension " << id; 217 LOG(ERROR) << "Server data does not exist for extension " << id;
218 } 218 }
219 } 219 }
220 220
221 } // namespace browser_sync 221 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/extension_sync.h ('k') | chrome/browser/sync/glue/extension_sync_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698