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

Side by Side Diff: chrome/browser/extensions/test_extension_service.h

Issue 9749012: [Sync] Have SyncableService's take ownership of their SyncChangeProcessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment Created 8 years, 9 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) 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 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 28 matching lines...) Expand all
39 const std::string& extension_id) const OVERRIDE; 39 const std::string& extension_id) const OVERRIDE;
40 40
41 virtual void UpdateExtensionBlacklist( 41 virtual void UpdateExtensionBlacklist(
42 const std::vector<std::string>& blacklist) OVERRIDE; 42 const std::vector<std::string>& blacklist) OVERRIDE;
43 virtual void CheckAdminBlacklist() OVERRIDE; 43 virtual void CheckAdminBlacklist() OVERRIDE;
44 virtual void CheckForUpdatesSoon() OVERRIDE; 44 virtual void CheckForUpdatesSoon() OVERRIDE;
45 45
46 virtual SyncError MergeDataAndStartSyncing( 46 virtual SyncError MergeDataAndStartSyncing(
47 syncable::ModelType type, 47 syncable::ModelType type,
48 const SyncDataList& initial_sync_data, 48 const SyncDataList& initial_sync_data,
49 SyncChangeProcessor* sync_processor) OVERRIDE; 49 scoped_ptr<SyncChangeProcessor> sync_processor) OVERRIDE;
50 virtual void StopSyncing(syncable::ModelType type) OVERRIDE; 50 virtual void StopSyncing(syncable::ModelType type) OVERRIDE;
51 virtual SyncDataList GetAllSyncData(syncable::ModelType type) const OVERRIDE; 51 virtual SyncDataList GetAllSyncData(syncable::ModelType type) const OVERRIDE;
52 virtual SyncError ProcessSyncChanges( 52 virtual SyncError ProcessSyncChanges(
53 const tracked_objects::Location& from_here, 53 const tracked_objects::Location& from_here,
54 const SyncChangeList& change_list) OVERRIDE; 54 const SyncChangeList& change_list) OVERRIDE;
55 55
56 virtual bool is_ready() OVERRIDE; 56 virtual bool is_ready() OVERRIDE;
57 57
58 virtual bool AddExtension(const Extension* extension) OVERRIDE; 58 virtual bool AddExtension(const Extension* extension) OVERRIDE;
59 59
60 virtual void UnloadExtension( 60 virtual void UnloadExtension(
61 const std::string& extension_id, 61 const std::string& extension_id,
62 extension_misc::UnloadedExtensionReason reason) OVERRIDE; 62 extension_misc::UnloadedExtensionReason reason) OVERRIDE;
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 65 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698