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

Unified Diff: chromeos/login/scoped_test_public_session_login_state.h

Issue 2858643002: PS - Filtering activeTab URL (Closed)
Patch Set: ExtensionBuilder in test Created 3 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 | « chromeos/BUILD.gn ('k') | chromeos/login/scoped_test_public_session_login_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/scoped_test_public_session_login_state.h
diff --git a/chromeos/login/scoped_test_public_session_login_state.h b/chromeos/login/scoped_test_public_session_login_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..02b0c33ca32b92ffce0f24e81d68a383b77d1c8c
--- /dev/null
+++ b/chromeos/login/scoped_test_public_session_login_state.h
@@ -0,0 +1,24 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMEOS_LOGIN_SCOPED_TEST_PUBLIC_SESSION_LOGIN_STATE_H_
+#define CHROMEOS_LOGIN_SCOPED_TEST_PUBLIC_SESSION_LOGIN_STATE_H_
+
+#include "base/macros.h"
+
+namespace chromeos {
+
+// A class to start and shutdown public session state for a test.
+class ScopedTestPublicSessionLoginState {
+ public:
+ ScopedTestPublicSessionLoginState();
+ ~ScopedTestPublicSessionLoginState();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ScopedTestPublicSessionLoginState);
+};
+
+} // namespace chromeos
+
+#endif // CHROMEOS_LOGIN_SCOPED_TEST_PUBLIC_SESSION_LOGIN_STATE_H_
« no previous file with comments | « chromeos/BUILD.gn ('k') | chromeos/login/scoped_test_public_session_login_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698