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

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

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years 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_bundle.h" 5 #include "chrome/browser/extensions/extension_sync_bundle.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "chrome/browser/extensions/extension_sync_service.h" 8 #include "chrome/browser/extensions/extension_sync_service.h"
9 #include "chrome/common/extensions/extension_set.h"
10 #include "chrome/common/extensions/sync_helper.h" 9 #include "chrome/common/extensions/sync_helper.h"
11 #include "extensions/common/extension.h" 10 #include "extensions/common/extension.h"
11 #include "extensions/common/extension_set.h"
12 #include "sync/api/sync_change_processor.h" 12 #include "sync/api/sync_change_processor.h"
13 #include "sync/api/sync_error_factory.h" 13 #include "sync/api/sync_error_factory.h"
14 14
15 namespace extensions { 15 namespace extensions {
16 16
17 ExtensionSyncBundle::ExtensionSyncBundle( 17 ExtensionSyncBundle::ExtensionSyncBundle(
18 ExtensionSyncService* extension_sync_service) 18 ExtensionSyncService* extension_sync_service)
19 : extension_sync_service_(extension_sync_service) {} 19 : extension_sync_service_(extension_sync_service) {}
20 20
21 ExtensionSyncBundle::~ExtensionSyncBundle() {} 21 ExtensionSyncBundle::~ExtensionSyncBundle() {}
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 void ExtensionSyncBundle::RemoveExtension(const std::string& id) { 162 void ExtensionSyncBundle::RemoveExtension(const std::string& id) {
163 synced_extensions_.erase(id); 163 synced_extensions_.erase(id);
164 } 164 }
165 165
166 void ExtensionSyncBundle::MarkPendingExtensionSynced(const std::string& id) { 166 void ExtensionSyncBundle::MarkPendingExtensionSynced(const std::string& id) {
167 pending_sync_data_.erase(id); 167 pending_sync_data_.erase(id);
168 synced_extensions_.insert(id); 168 synced_extensions_.insert(id);
169 } 169 }
170 170
171 } // namespace extensions 171 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_sync_bundle.h ('k') | chrome/browser/extensions/extension_toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698