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

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

Issue 14757022: Add a non-blocking "OneShotEvent" class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests; add a test Created 7 years, 7 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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const syncer::SyncDataList& initial_sync_data, 58 const syncer::SyncDataList& initial_sync_data,
59 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, 59 scoped_ptr<syncer::SyncChangeProcessor> sync_processor,
60 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; 60 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE;
61 virtual void StopSyncing(syncer::ModelType type) OVERRIDE; 61 virtual void StopSyncing(syncer::ModelType type) OVERRIDE;
62 virtual syncer::SyncDataList GetAllSyncData( 62 virtual syncer::SyncDataList GetAllSyncData(
63 syncer::ModelType type) const OVERRIDE; 63 syncer::ModelType type) const OVERRIDE;
64 virtual syncer::SyncError ProcessSyncChanges( 64 virtual syncer::SyncError ProcessSyncChanges(
65 const tracked_objects::Location& from_here, 65 const tracked_objects::Location& from_here,
66 const syncer::SyncChangeList& change_list) OVERRIDE; 66 const syncer::SyncChangeList& change_list) OVERRIDE;
67 67
68 virtual bool is_ready() OVERRIDE;
69
70 virtual base::SequencedTaskRunner* GetFileTaskRunner() OVERRIDE; 68 virtual base::SequencedTaskRunner* GetFileTaskRunner() OVERRIDE;
71 69
72 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE; 70 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE;
73 virtual void AddComponentExtension( 71 virtual void AddComponentExtension(
74 const extensions::Extension* extension) OVERRIDE; 72 const extensions::Extension* extension) OVERRIDE;
75 73
76 virtual void UnloadExtension( 74 virtual void UnloadExtension(
77 const std::string& extension_id, 75 const std::string& extension_id,
78 extension_misc::UnloadedExtensionReason reason) OVERRIDE; 76 extension_misc::UnloadedExtensionReason reason) OVERRIDE;
79 77
80 virtual void SyncExtensionChangeIfNeeded( 78 virtual void SyncExtensionChangeIfNeeded(
81 const extensions::Extension& extension) OVERRIDE; 79 const extensions::Extension& extension) OVERRIDE;
82 }; 80 };
83 81
84 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 82 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698