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

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 2709a73bfbfe860fc7e50ba4a7cb14e59c75ba7b..63a4674329d9a3318a185764ad97694bff63dae5 100644
--- a/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc
+++ b/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc
@@ -5,7 +5,6 @@
#include <memory>
#include <utility>
-#include "base/base_switches.h"
#include "base/macros.h"
#include "base/run_loop.h"
#include "chrome/browser/extensions/api/instance_id/instance_id_api.h"
@@ -42,7 +41,6 @@ class InstanceIDApiTest : public ExtensionApiTest {
protected:
void SetUpOnMainThread() override;
- void SetUpCommandLine(base::CommandLine* command_line) override;
private:
DISALLOW_COPY_AND_ASSIGN(InstanceIDApiTest);
@@ -58,14 +56,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