OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <set> | 5 #include <set> |
6 #include "base/basictypes.h" | 6 #include "base/basictypes.h" |
7 #include "base/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
9 #include "chrome/browser/signin/fake_auth_status_provider.h" | 9 #include "chrome/browser/signin/fake_auth_status_provider.h" |
10 #include "chrome/browser/signin/fake_signin_manager.h" | 10 #include "chrome/browser/signin/fake_signin_manager.h" |
11 #include "chrome/browser/signin/signin_manager.h" | 11 #include "chrome/browser/signin/signin_manager.h" |
12 #include "chrome/browser/sync/profile_sync_service_mock.h" | 12 #include "chrome/browser/sync/profile_sync_service_mock.h" |
13 #include "chrome/browser/sync/sync_ui_util.h" | 13 #include "chrome/browser/sync/sync_ui_util.h" |
14 #include "content/public/test/test_browser_thread.h" | 14 #include "content/public/test/test_browser_thread.h" |
15 #include "grit/generated_resources.h" | 15 #include "grit/generated_resources.h" |
16 #include "testing/gmock/include/gmock/gmock-actions.h" | 16 #include "testing/gmock/include/gmock/gmock-actions.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 // the status label. | 378 // the status label. |
379 EXPECT_FALSE(status_label.empty()); | 379 EXPECT_FALSE(status_label.empty()); |
380 EXPECT_EQ(status_label.find(string16(ASCIIToUTF16("href"))), | 380 EXPECT_EQ(status_label.find(string16(ASCIIToUTF16("href"))), |
381 string16::npos); | 381 string16::npos); |
382 testing::Mock::VerifyAndClearExpectations(&service); | 382 testing::Mock::VerifyAndClearExpectations(&service); |
383 testing::Mock::VerifyAndClearExpectations(&signin); | 383 testing::Mock::VerifyAndClearExpectations(&signin); |
384 provider.reset(); | 384 provider.reset(); |
385 signin.Shutdown(); | 385 signin.Shutdown(); |
386 } | 386 } |
387 } | 387 } |
OLD | NEW |