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

Unified Diff: chrome/browser/chromeos/login/enable_debugging_browsertest.cc

Issue 925903006: Refactor debug_daemon_client.h to use debugd::DevFeatureFlag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/enable_debugging_browsertest.cc
diff --git a/chrome/browser/chromeos/login/enable_debugging_browsertest.cc b/chrome/browser/chromeos/login/enable_debugging_browsertest.cc
index 64ec121e9de6d08505db6935870a131e2fb55be1..aeb5039dc9fcdfd5424519f150a827fc2a9336b5 100644
--- a/chrome/browser/chromeos/login/enable_debugging_browsertest.cc
+++ b/chrome/browser/chromeos/login/enable_debugging_browsertest.cc
@@ -25,6 +25,7 @@
#include "chromeos/dbus/fake_update_engine_client.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/test_utils.h"
+#include "third_party/cros_system_api/dbus/service_constants.h"
namespace chromeos {
@@ -246,7 +247,7 @@ class EnableDebuggingTest : public LoginManagerTest {
void ShowSetupScreen() {
debug_daemon_client_->SetDebuggingFeaturesStatus(
- DebugDaemonClient::DEV_FEATURE_ROOTFS_VERIFICATION_REMOVED);
+ debugd::DevFeatureFlag::DEV_FEATURE_ROOTFS_VERIFICATION_REMOVED);
WaitUntilJSIsReady();
JSExpect("!!document.querySelector('#debugging.hidden')");
InvokeEnableDebuggingScreen();
@@ -306,8 +307,8 @@ IN_PROC_BROWSER_TEST_F(EnableDebuggingTest, ShowSetup) {
// Invoking debug screen should show remove protection screen.
IN_PROC_BROWSER_TEST_F(EnableDebuggingTest, ShowOnTestImages) {
debug_daemon_client_->SetDebuggingFeaturesStatus(
- DebugDaemonClient::DEV_FEATURE_SSH_SERVER_CONFIGURED |
- DebugDaemonClient::DEV_FEATURE_SYSTEM_ROOT_PASSWORD_SET);
+ debugd::DevFeatureFlag::DEV_FEATURE_SSH_SERVER_CONFIGURED |
+ debugd::DevFeatureFlag::DEV_FEATURE_SYSTEM_ROOT_PASSWORD_SET);
WaitUntilJSIsReady();
JSExpect("!!document.querySelector('#debugging.hidden')");
InvokeEnableDebuggingScreen();
@@ -397,7 +398,7 @@ class EnableDebuggingRequestedTest : public EnableDebuggingTest {
EnableDebuggingTest::SetUpInProcessBrowserTestFixture();
debug_daemon_client_->SetDebuggingFeaturesStatus(
- DebugDaemonClient::DEV_FEATURE_ROOTFS_VERIFICATION_REMOVED);
+ debugd::DevFeatureFlag::DEV_FEATURE_ROOTFS_VERIFICATION_REMOVED);
}
};
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/enable_debugging_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698