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

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

Issue 7624009: Original patch by rlarocque@chromium.org at http://codereview.chromium.org/7633077/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build pt5 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
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_traits.h" 5 #include "chrome/browser/sync/glue/extension_sync_traits.h"
6 6
7 #include "base/string_piece.h" 7 #include "base/string_piece.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/sync/engine/syncapi.h"
10 #include "chrome/browser/sync/glue/extension_util.h" 9 #include "chrome/browser/sync/glue/extension_util.h"
10 #include "chrome/browser/sync/internal_api/write_node.h"
11 #include "chrome/browser/sync/protocol/app_specifics.pb.h" 11 #include "chrome/browser/sync/protocol/app_specifics.pb.h"
12 #include "chrome/browser/sync/protocol/extension_specifics.pb.h" 12 #include "chrome/browser/sync/protocol/extension_specifics.pb.h"
13 #include "chrome/common/extensions/extension.h" 13 #include "chrome/common/extensions/extension.h"
14 14
15 namespace browser_sync { 15 namespace browser_sync {
16 16
17 ExtensionSyncTraits::ExtensionSyncTraits( 17 ExtensionSyncTraits::ExtensionSyncTraits(
18 syncable::ModelType model_type, 18 syncable::ModelType model_type,
19 IsValidAndSyncablePredicate is_valid_and_syncable, 19 IsValidAndSyncablePredicate is_valid_and_syncable,
20 const char* root_node_tag, 20 const char* root_node_tag,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 ExtensionSyncTraits GetAppSyncTraits() { 126 ExtensionSyncTraits GetAppSyncTraits() {
127 return ExtensionSyncTraits(syncable::APPS, 127 return ExtensionSyncTraits(syncable::APPS,
128 &IsValidAndSyncableApp, 128 &IsValidAndSyncableApp,
129 "google_chrome_apps", 129 "google_chrome_apps",
130 &GetExtensionSpecificsOfApp, 130 &GetExtensionSpecificsOfApp,
131 &SetExtensionSpecificsOfApp, 131 &SetExtensionSpecificsOfApp,
132 &GetExtensionSpecificsFromEntityOfApp); 132 &GetExtensionSpecificsFromEntityOfApp);
133 } 133 }
134 134
135 } // namespace browser_sync 135 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/extension_sync.cc ('k') | chrome/browser/sync/glue/generic_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698