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

Side by Side Diff: ios/chrome/browser/ui/sync/sync_util.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 IOS_CHROME_BROWSER_UI_SYNC_SYNC_UTIL_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_SYNC_SYNC_UTIL_H_
6 #define IOS_CHROME_BROWSER_UI_SYNC_SYNC_UTIL_H_ 6 #define IOS_CHROME_BROWSER_UI_SYNC_SYNC_UTIL_H_
7 7
8 #include <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "google_apis/gaia/google_service_auth_error.h" 10 #include "google_apis/gaia/google_service_auth_error.h"
11 #include "ios/chrome/browser/sync/sync_setup_service.h" 11 #include "ios/chrome/browser/sync/sync_setup_service.h"
12 12
13 @class GenericChromeCommand; 13 @class GenericChromeCommand;
14 @class Tab; 14 @class Tab;
15 15
16 namespace ios { 16 namespace ios {
17 class ChromeBrowserState; 17 class ChromeBrowserState;
18 } 18 }
(...skipping 25 matching lines...) Expand all
44 // Returns true if an infobar was brought up. 44 // Returns true if an infobar was brought up.
45 bool displaySyncErrors(ios::ChromeBrowserState* browser_state, Tab* tab); 45 bool displaySyncErrors(ios::ChromeBrowserState* browser_state, Tab* tab);
46 46
47 // Returns true if |errorState| corresponds to a transient sync error. 47 // Returns true if |errorState| corresponds to a transient sync error.
48 bool IsTransientSyncError(SyncSetupService::SyncServiceState errorState); 48 bool IsTransientSyncError(SyncSetupService::SyncServiceState errorState);
49 49
50 } // namespace sync 50 } // namespace sync
51 } // namespace ios_internal 51 } // namespace ios_internal
52 52
53 #endif // IOS_CHROME_BROWSER_UI_SYNC_SYNC_UTIL_H_ 53 #endif // IOS_CHROME_BROWSER_UI_SYNC_SYNC_UTIL_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/static_content/static_html_view_controller.mm ('k') | ios/chrome/browser/web/auto_reload_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698