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

Unified Diff: chrome/browser/extensions/api/instance_id/instance_id_apitest.cc

Issue 1854093002: Enable InstanceID field trial by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid3test
Patch Set: Rebase Created 4 years, 8 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 | components/gcm_driver/gcm_driver_desktop_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/instance_id/instance_id_apitest.cc
diff --git a/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc b/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc
index 646fab0801762c2a178b8996ef74c1653ff0005e..3ba3f7cf6e32fc301533788958ff3881ec7dcde7 100644
--- a/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc
+++ b/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc
@@ -42,7 +42,6 @@ class InstanceIDApiTest : public ExtensionApiTest {
protected:
void SetUpOnMainThread() override;
- void SetUpCommandLine(base::CommandLine* command_line) override;
private:
DISALLOW_COPY_AND_ASSIGN(InstanceIDApiTest);
@@ -58,14 +57,6 @@ void InstanceIDApiTest::SetUpOnMainThread() {
ExtensionApiTest::SetUpOnMainThread();
}
-void InstanceIDApiTest::SetUpCommandLine(base::CommandLine* command_line) {
- ExtensionApiTest::SetUpCommandLine(command_line);
-
- // Makes sure InstanceID is enabled for testing.
- command_line->AppendSwitchASCII(
- switches::kForceFieldTrials, "InstanceID/Enabled/");
-}
-
IN_PROC_BROWSER_TEST_F(InstanceIDApiTest, GetID) {
ASSERT_TRUE(RunExtensionTest("instance_id/get_id"));
}
« no previous file with comments | « no previous file | components/gcm_driver/gcm_driver_desktop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698