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 #include <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
8 | 8 |
9 #include "base/mac/scoped_nsobject.h" | 9 #include "base/mac/scoped_nsobject.h" |
10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
11 #include "ios/chrome/browser/app_startup_parameters.h" | 11 #include "ios/chrome/browser/app_startup_parameters.h" |
12 #include "ios/chrome/browser/chrome_url_constants.h" | 12 #include "ios/chrome/browser/chrome_url_constants.h" |
13 #import "ios/chrome/browser/xcallback_parameters.h" | 13 #import "ios/chrome/browser/xcallback_parameters.h" |
14 #include "ios/chrome/common/app_group/app_group_constants.h" | 14 #include "ios/chrome/common/app_group/app_group_constants.h" |
15 #include "testing/gtest_mac.h" | 15 #include "testing/gtest_mac.h" |
16 #include "testing/platform_test.h" | 16 #include "testing/platform_test.h" |
17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // Key is a substring of some other string. | 235 // Key is a substring of some other string. |
236 CheckLaunchSourceForURL( | 236 CheckLaunchSourceForURL( |
237 first_run::LAUNCH_BY_MOBILESAFARI, | 237 first_run::LAUNCH_BY_MOBILESAFARI, |
238 @"http://www.google.com/search?query=pony&safarisabcdefg=1"); | 238 @"http://www.google.com/search?query=pony&safarisabcdefg=1"); |
239 CheckLaunchSourceForURL( | 239 CheckLaunchSourceForURL( |
240 first_run::LAUNCH_BY_MOBILESAFARI, | 240 first_run::LAUNCH_BY_MOBILESAFARI, |
241 @"http://www.google.com/search?query=pony¬safarisab=1&abc=def"); | 241 @"http://www.google.com/search?query=pony¬safarisab=1&abc=def"); |
242 } | 242 } |
243 | 243 |
244 } // namespace | 244 } // namespace |
OLD | NEW |