| OLD | NEW |
| 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 #import "ios/chrome/browser/installation_notifier.h" | 5 #import "ios/chrome/browser/installation_notifier.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 7 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 8 | 9 |
| 9 #include "base/ios/weak_nsobject.h" | 10 #include "base/ios/weak_nsobject.h" |
| 10 #include "base/logging.h" | 11 #include "base/logging.h" |
| 11 #include "base/mac/scoped_nsobject.h" | 12 #include "base/mac/scoped_nsobject.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
| 14 #include "ios/web/public/web_thread.h" | 15 #include "ios/web/public/web_thread.h" |
| 15 #include "net/base/backoff_entry.h" | 16 #include "net/base/backoff_entry.h" |
| 16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 } | 215 } |
| 215 | 216 |
| 216 - (void)setSharedApplication:(id)sharedApplication { | 217 - (void)setSharedApplication:(id)sharedApplication { |
| 217 // Verify that the test application object responds to all the selectors that | 218 // Verify that the test application object responds to all the selectors that |
| 218 // will be called on it. | 219 // will be called on it. |
| 219 CHECK([sharedApplication respondsToSelector:@selector(canOpenURL:)]); | 220 CHECK([sharedApplication respondsToSelector:@selector(canOpenURL:)]); |
| 220 sharedApplication_ = (UIApplication*)sharedApplication; | 221 sharedApplication_ = (UIApplication*)sharedApplication; |
| 221 } | 222 } |
| 222 | 223 |
| 223 @end | 224 @end |
| OLD | NEW |