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

Side by Side Diff: chrome/browser/chromeos/policy/consumer_management_notifier_unittest.cc

Issue 760373002: Fixed some styling issues and added missing header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/chromeos/policy/consumer_management_notifier_factory_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/policy/consumer_management_notifier.h" 5 #include "chrome/browser/chromeos/policy/consumer_management_notifier.h"
6 6
7 #include "base/memory/scoped_ptr.h"
7 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/browser_process_platform_part.h" 9 #include "chrome/browser/browser_process_platform_part.h"
9 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" 10 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
10 #include "chrome/browser/chromeos/policy/consumer_management_service.h" 11 #include "chrome/browser/chromeos/policy/consumer_management_service.h"
11 #include "chrome/browser/chromeos/policy/fake_consumer_management_service.h" 12 #include "chrome/browser/chromeos/policy/fake_consumer_management_service.h"
12 #include "chrome/browser/notifications/notification_ui_manager.h" 13 #include "chrome/browser/notifications/notification_ui_manager.h"
13 #include "chrome/test/base/browser_with_test_window_test.h" 14 #include "chrome/test/base/browser_with_test_window_test.h"
14 #include "chrome/test/base/testing_browser_process.h" 15 #include "chrome/test/base/testing_browser_process.h"
15 #include "chrome/test/base/testing_profile_manager.h" 16 #include "chrome/test/base/testing_profile_manager.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 93
93 fake_service_->SetStatusAndEnrollmentStage( 94 fake_service_->SetStatusAndEnrollmentStage(
94 ConsumerManagementService::STATUS_ENROLLED, 95 ConsumerManagementService::STATUS_ENROLLED,
95 ConsumerManagementService::ENROLLMENT_STAGE_SUCCESS); 96 ConsumerManagementService::ENROLLMENT_STAGE_SUCCESS);
96 EXPECT_EQ(ConsumerManagementService::ENROLLMENT_STAGE_NONE, 97 EXPECT_EQ(ConsumerManagementService::ENROLLMENT_STAGE_NONE,
97 fake_service_->GetEnrollmentStage()); 98 fake_service_->GetEnrollmentStage());
98 EXPECT_TRUE(HasEnrollmentNotification()); 99 EXPECT_TRUE(HasEnrollmentNotification());
99 } 100 }
100 101
101 } // namespace policy 102 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/consumer_management_notifier_factory_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698