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

Unified Diff: ios/chrome/browser/chrome_url_util.h

Issue 2364373002: Removed some URL Utility functions & improved unit tests (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/chrome_url_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/chrome_url_util.h
diff --git a/ios/chrome/browser/chrome_url_util.h b/ios/chrome/browser/chrome_url_util.h
index 8d44cd0c12e060a98a3845450eb8696d1725ff49..6d24765563fd9b9e8d2206d99aa8af6e42aad57a 100644
--- a/ios/chrome/browser/chrome_url_util.h
+++ b/ios/chrome/browser/chrome_url_util.h
@@ -14,12 +14,6 @@ class GURL;
// Returns whether |url| is an external file reference.
bool UrlIsExternalFileReference(const GURL& url);
-// Returns a URL that launches Chrome.
-NSURL* UrlToLaunchChrome();
-
-// Returns the URL for the iOS App Icon for Chrome.
-NSURL* UrlOfChromeAppIcon(int width, int height);
-
// Returns true if the scheme has a chrome scheme.
bool UrlHasChromeScheme(const GURL& url);
bool UrlHasChromeScheme(NSURL* url);
@@ -38,16 +32,9 @@ bool IsHandledProtocol(const std::string& scheme);
// Returns the URL scheme that launches Chrome.
- (NSString*)getBundleURLScheme;
-// Returns the URL string to the Chrome application icon.
-- (NSString*)getChromeAppIconURLOfWidth:(int)width height:(int)height;
-
// Method to set the scheme to callback Chrome iOS for testing.
- (void)setCallbackSchemeForTesting:(NSString*)callbackScheme;
-// Method to set a different block to provider the App Icon URL.
-typedef NSString* (^AppIconURLProvider)(int, int);
-- (void)setAppIconURLProviderForTesting:(AppIconURLProvider)block;
-
@end
#endif // IOS_CHROME_BROWSER_CHROME_URL_UTIL_H_
« no previous file with comments | « no previous file | ios/chrome/browser/chrome_url_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698