| Index: chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc
|
| diff --git a/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc b/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc
|
| index 2751912ec7bc5c17c78fa03151b19b6a935233e0..64f4c6ce2f1df73034437a1d0a3ebf26baf25303 100644
|
| --- a/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc
|
| +++ b/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc
|
| @@ -30,7 +30,7 @@ namespace chromeos {
|
|
|
| namespace {
|
|
|
| -const char* kUsers[] = {"a@gmail.com", "b@gmail.com" };
|
| +const char* const kUsers[] = {"a@gmail.com", "b@gmail.com" };
|
|
|
| struct BehaviorTestCase {
|
| const char* primary;
|
| @@ -212,12 +212,13 @@ class MultiProfileUserControllerTest
|
|
|
| int user_not_allowed_count_;
|
|
|
| + private:
|
| DISALLOW_COPY_AND_ASSIGN(MultiProfileUserControllerTest);
|
| };
|
|
|
| // Tests that everyone is allowed before a session starts.
|
| TEST_F(MultiProfileUserControllerTest, AllAllowedBeforeLogin) {
|
| - const char* kTestCases[] = {
|
| + const char* const kTestCases[] = {
|
| MultiProfileUserController::kBehaviorUnrestricted,
|
| MultiProfileUserController::kBehaviorPrimaryOnly,
|
| MultiProfileUserController::kBehaviorNotAllowed,
|
| @@ -246,7 +247,7 @@ TEST_F(MultiProfileUserControllerTest, InvalidCacheBecomesDefault) {
|
| TEST_F(MultiProfileUserControllerTest, CachedBehaviorUpdate) {
|
| LoginUser(0);
|
|
|
| - const char* kTestCases[] = {
|
| + const char* const kTestCases[] = {
|
| MultiProfileUserController::kBehaviorUnrestricted,
|
| MultiProfileUserController::kBehaviorPrimaryOnly,
|
| MultiProfileUserController::kBehaviorNotAllowed,
|
|
|