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

Side by Side Diff: chrome/browser/sync/sync_ui_util_unittest.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include <set> 9 #include <set>
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/signin/account_tracker_service_factory.h" 14 #include "chrome/browser/signin/account_tracker_service_factory.h"
15 #include "chrome/browser/signin/chrome_signin_client_factory.h" 15 #include "chrome/browser/signin/chrome_signin_client_factory.h"
16 #include "chrome/browser/signin/signin_error_controller_factory.h" 16 #include "chrome/browser/signin/signin_error_controller_factory.h"
17 #include "chrome/browser/signin/signin_manager_factory.h" 17 #include "chrome/browser/signin/signin_manager_factory.h"
18 #include "chrome/browser/sync/profile_sync_test_util.h" 18 #include "chrome/browser/sync/profile_sync_test_util.h"
19 #include "chrome/browser/sync/sync_ui_util.h" 19 #include "chrome/browser/sync/sync_ui_util.h"
20 #include "chrome/grit/generated_resources.h"
21 #include "chrome/test/base/testing_profile.h" 20 #include "chrome/test/base/testing_profile.h"
22 #include "components/browser_sync/profile_sync_service_mock.h" 21 #include "components/browser_sync/profile_sync_service_mock.h"
23 #include "components/signin/core/browser/fake_auth_status_provider.h" 22 #include "components/signin/core/browser/fake_auth_status_provider.h"
24 #include "components/signin/core/browser/fake_signin_manager.h" 23 #include "components/signin/core/browser/fake_signin_manager.h"
25 #include "components/signin/core/browser/signin_manager.h" 24 #include "components/signin/core/browser/signin_manager.h"
26 #include "content/public/test/test_browser_thread.h" 25 #include "content/public/test/test_browser_thread.h"
27 #include "content/public/test/test_browser_thread_bundle.h" 26 #include "content/public/test/test_browser_thread_bundle.h"
28 #include "testing/gmock/include/gmock/gmock-actions.h" 27 #include "testing/gmock/include/gmock/gmock-actions.h"
29 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gmock/include/gmock/gmock.h"
30 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 sync_ui_util::GetStatusLabels(profile.get(), &service, *signin, 406 sync_ui_util::GetStatusLabels(profile.get(), &service, *signin,
408 sync_ui_util::PLAIN_TEXT, 407 sync_ui_util::PLAIN_TEXT,
409 &second_actionable_error_status_label, 408 &second_actionable_error_status_label,
410 &link_label, &action_type); 409 &link_label, &action_type);
411 // Expect a passive message instead of a call to action. 410 // Expect a passive message instead of a call to action.
412 EXPECT_EQ(sync_ui_util::NO_ACTION, action_type); 411 EXPECT_EQ(sync_ui_util::NO_ACTION, action_type);
413 412
414 EXPECT_NE(first_actionable_error_status_label, 413 EXPECT_NE(first_actionable_error_status_label,
415 second_actionable_error_status_label); 414 second_actionable_error_status_label);
416 } 415 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698