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

Side by Side Diff: ios/chrome/browser/web/auto_reload_controller.h

Issue 2603973002: Import Objective C Frameworks (Closed)
Patch Set: only ios Created 3 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WEB_AUTO_RELOAD_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_WEB_AUTO_RELOAD_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_WEB_AUTO_RELOAD_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_WEB_AUTO_RELOAD_CONTROLLER_H_
7 7
8 #include <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 // AutoReloadDelegate is the interface by which AutoReloadController affects the 12 // AutoReloadDelegate is the interface by which AutoReloadController affects the
13 // outside world. Tests can use a mock object implementing this protocol; 13 // outside world. Tests can use a mock object implementing this protocol;
14 // normally, this is provided by AutoReloadBridge. 14 // normally, this is provided by AutoReloadBridge.
15 @protocol AutoReloadDelegate 15 @protocol AutoReloadDelegate
16 16
17 // When called, this method should reload the tab being tracked (see the class 17 // When called, this method should reload the tab being tracked (see the class
18 // comment on AutoReloadController below). 18 // comment on AutoReloadController below).
(...skipping 21 matching lines...) Expand all
40 // This method notifies this object that a page load failed for |url|. 40 // This method notifies this object that a page load failed for |url|.
41 - (void)loadFailedForURL:(const GURL&)url wasPost:(BOOL)wasPost; 41 - (void)loadFailedForURL:(const GURL&)url wasPost:(BOOL)wasPost;
42 42
43 // This method notifies this object that the device's network state changed to 43 // This method notifies this object that the device's network state changed to
44 // |online|. 44 // |online|.
45 - (void)networkStateChangedToOnline:(BOOL)online; 45 - (void)networkStateChangedToOnline:(BOOL)online;
46 46
47 @end 47 @end
48 48
49 #endif // IOS_CHROME_BROWSER_WEB_AUTO_RELOAD_CONTROLLER_H_ 49 #endif // IOS_CHROME_BROWSER_WEB_AUTO_RELOAD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/web/auto_reload_bridge.h ('k') | ios/chrome/browser/web/chrome_web_client_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698