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

Side by Side Diff: ios/chrome/browser/installation_notifier.h

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « ios/chrome/browser/install_time_util.mm ('k') | ios/chrome/browser/installation_notifier.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 IOS_CHROME_BROWSER_INSTALLATION_NOTIFIER_H_ 5 #ifndef IOS_CHROME_BROWSER_INSTALLATION_NOTIFIER_H_
6 #define IOS_CHROME_BROWSER_INSTALLATION_NOTIFIER_H_ 6 #define IOS_CHROME_BROWSER_INSTALLATION_NOTIFIER_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #include <stdint.h>
9 10
10 class GURL; 11 class GURL;
11 12
12 // Protocol used to mock the delayed dispatching for the unit tests. 13 // Protocol used to mock the delayed dispatching for the unit tests.
13 // Calls |block| after |delayInNSec|. 14 // Calls |block| after |delayInNSec|.
14 @protocol DispatcherProtocol<NSObject> 15 @protocol DispatcherProtocol<NSObject>
15 - (void)dispatchAfter:(int64_t)delayInNSec withBlock:(dispatch_block_t)block; 16 - (void)dispatchAfter:(int64_t)delayInNSec withBlock:(dispatch_block_t)block;
16 @end 17 @end
17 18
18 @interface InstallationNotifier : NSObject 19 @interface InstallationNotifier : NSObject
(...skipping 11 matching lines...) Expand all
30 - (void)unregisterForNotifications:(id)observer; 31 - (void)unregisterForNotifications:(id)observer;
31 32
32 // Performs a check for installed apps right away and restarts the polling. 33 // Performs a check for installed apps right away and restarts the polling.
33 // There is usually no need for registered observers to call this method, unless 34 // There is usually no need for registered observers to call this method, unless
34 // registered observers need to know the accurate state of installed native 35 // registered observers need to know the accurate state of installed native
35 // apps. 36 // apps.
36 - (void)checkNow; 37 - (void)checkNow;
37 @end 38 @end
38 39
39 #endif // IOS_CHROME_BROWSER_INSTALLATION_NOTIFIER_H_ 40 #endif // IOS_CHROME_BROWSER_INSTALLATION_NOTIFIER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/install_time_util.mm ('k') | ios/chrome/browser/installation_notifier.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698