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

Side by Side Diff: ios/public/test/test_updatable_resource_provider.h

Issue 1102833003: [iOS] Upstream UpdatableConfig test provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation Created 5 years, 8 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
« no previous file with comments | « ios/ios_tests.gyp ('k') | ios/public/test/test_updatable_resource_provider.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_PUBLIC_TEST_TEST_UPDATABLE_RESOURCE_PROVIDER_H_
6 #define IOS_PUBLIC_TEST_TEST_UPDATABLE_RESOURCE_PROVIDER_H_
7
8 #import "ios/public/provider/chrome/browser/updatable_resource_provider.h"
9
10 namespace ios {
11
12 // Dummy UpdatableResourceProvider implementation that simply loads data from
13 // the specified plist file.
14 class TestUpdatableResourceProvider : public ios::UpdatableResourceProvider {
15 private:
16 // UpdatableResourceProvider implementation.
17 NSString* GetUpdateNotificationName() override;
18 id<UpdatableResourceBridge> CreateUpdatableResource(
19 NSString* resource_identifier,
20 id<UpdatableResourceDelegate> delegate) override;
21 };
22
23 } // namespace ios
24
25 #endif // IOS_PUBLIC_TEST_TEST_UPDATABLE_RESOURCE_PROVIDER_H_
OLDNEW
« no previous file with comments | « ios/ios_tests.gyp ('k') | ios/public/test/test_updatable_resource_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698