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

Side by Side Diff: components/component_updater/mock_component_updater_service.h

Issue 2154773002: Implement Just-In-Time Flash updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First Review Pass Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // Automatically generated by testing/gmock/scripts/generator/gmock_gen.py. 5 // Automatically generated by testing/gmock/scripts/generator/gmock_gen.py.
6 // Manual edits: 6 // Manual edits:
7 // - Copyright header added. 7 // - Copyright header added.
8 // - Includes and inclusion guard added. 8 // - Includes and inclusion guard added.
9 // - Constructor and destructor added to satisfy chromium-style checker. 9 // - Constructor and destructor added to satisfy chromium-style checker.
10 10
(...skipping 15 matching lines...) Expand all
26 MOCK_METHOD1(AddObserver, 26 MOCK_METHOD1(AddObserver,
27 void(Observer* observer)); 27 void(Observer* observer));
28 MOCK_METHOD1(RemoveObserver, 28 MOCK_METHOD1(RemoveObserver,
29 void(Observer* observer)); 29 void(Observer* observer));
30 MOCK_METHOD1(RegisterComponent, 30 MOCK_METHOD1(RegisterComponent,
31 bool(const CrxComponent& component)); 31 bool(const CrxComponent& component));
32 MOCK_METHOD1(UnregisterComponent, 32 MOCK_METHOD1(UnregisterComponent,
33 bool(const std::string& id)); 33 bool(const std::string& id));
34 MOCK_CONST_METHOD0(GetComponentIDs, 34 MOCK_CONST_METHOD0(GetComponentIDs,
35 std::vector<std::string>()); 35 std::vector<std::string>());
36 MOCK_CONST_METHOD2(GetComponentForMimeType,
37 bool(const std::string& mime_type, ComponentInfo* info));
36 MOCK_METHOD0(GetOnDemandUpdater, 38 MOCK_METHOD0(GetOnDemandUpdater,
37 OnDemandUpdater&()); 39 OnDemandUpdater&());
38 MOCK_METHOD2(MaybeThrottle, 40 MOCK_METHOD2(MaybeThrottle,
39 void(const std::string& id, const base::Closure& callback)); 41 void(const std::string& id, const base::Closure& callback));
40 MOCK_METHOD0(GetSequencedTaskRunner, 42 MOCK_METHOD0(GetSequencedTaskRunner,
41 scoped_refptr<base::SequencedTaskRunner>()); 43 scoped_refptr<base::SequencedTaskRunner>());
42 MOCK_CONST_METHOD2(GetComponentDetails, 44 MOCK_CONST_METHOD2(GetComponentDetails,
43 bool(const std::string& id, CrxUpdateItem* item)); 45 bool(const std::string& id, CrxUpdateItem* item));
44 }; 46 };
45 47
46 } // namespace component_updater 48 } // namespace component_updater
47 49
48 #endif // COMPONENTS_COMPONENT_UPDATER_MOCK_COMPONENT_UPDATER_SERVICE_H_ 50 #endif // COMPONENTS_COMPONENT_UPDATER_MOCK_COMPONENT_UPDATER_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698