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

Unified Diff: chrome/browser/extensions/api/test/test_api.cc

Issue 10967003: Add desktop type context to most existing instances of FindTabbedBrowser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pre-review pass. Created 8 years, 2 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
Index: chrome/browser/extensions/api/test/test_api.cc
diff --git a/chrome/browser/extensions/api/test/test_api.cc b/chrome/browser/extensions/api/test/test_api.cc
index 046811598ac1c209dcc943960f9ddbc4a5986369..019d38fa77e8af5decff8aeee4fde2453fb660b5 100644
--- a/chrome/browser/extensions/api/test/test_api.cc
+++ b/chrome/browser/extensions/api/test/test_api.cc
@@ -90,7 +90,8 @@ TestCreateIncognitoTabFunction::
bool TestCreateIncognitoTabFunction::RunImpl() {
std::string url;
EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url));
- chrome::OpenURLOffTheRecord(profile(), GURL(url));
+ chrome::OpenURLOffTheRecord(profile(), GURL(url),
+ chrome::HOST_DESKTOP_TYPE_NATIVE);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698