| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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/app/chrome_app_startup_parameters.h" | 5 #import "ios/chrome/app/chrome_app_startup_parameters.h" |
| 6 | 6 |
| 7 #import <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
| 8 | 8 |
| 9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "ios/chrome/browser/app_startup_parameters.h" | 10 #include "ios/chrome/browser/app_startup_parameters.h" |
| 11 #include "ios/chrome/browser/chrome_url_constants.h" | 11 #include "ios/chrome/browser/chrome_url_constants.h" |
| 12 #import "ios/chrome/browser/xcallback_parameters.h" | |
| 13 #include "ios/chrome/common/app_group/app_group_constants.h" | 12 #include "ios/chrome/common/app_group/app_group_constants.h" |
| 14 #include "testing/gtest_mac.h" | 13 #include "testing/gtest_mac.h" |
| 15 #include "testing/platform_test.h" | 14 #include "testing/platform_test.h" |
| 16 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 17 | 16 |
| 18 #if !defined(__has_feature) || !__has_feature(objc_arc) | 17 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 19 #error "This file requires ARC support." | 18 #error "This file requires ARC support." |
| 20 #endif | 19 #endif |
| 21 | 20 |
| 22 namespace { | 21 namespace { |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // Key is a substring of some other string. | 231 // Key is a substring of some other string. |
| 233 CheckLaunchSourceForURL( | 232 CheckLaunchSourceForURL( |
| 234 first_run::LAUNCH_BY_MOBILESAFARI, | 233 first_run::LAUNCH_BY_MOBILESAFARI, |
| 235 @"http://www.google.com/search?query=pony&safarisabcdefg=1"); | 234 @"http://www.google.com/search?query=pony&safarisabcdefg=1"); |
| 236 CheckLaunchSourceForURL( | 235 CheckLaunchSourceForURL( |
| 237 first_run::LAUNCH_BY_MOBILESAFARI, | 236 first_run::LAUNCH_BY_MOBILESAFARI, |
| 238 @"http://www.google.com/search?query=pony¬safarisab=1&abc=def"); | 237 @"http://www.google.com/search?query=pony¬safarisab=1&abc=def"); |
| 239 } | 238 } |
| 240 | 239 |
| 241 } // namespace | 240 } // namespace |
| OLD | NEW |