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

Side by Side Diff: chrome/browser/extensions/api/identity/identity_apitest.cc

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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 | Annotate | Revision Log
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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
(...skipping 25 matching lines...) Expand all
36 #include "chrome/test/base/test_switches.h" 36 #include "chrome/test/base/test_switches.h"
37 #include "components/signin/core/browser/signin_manager.h" 37 #include "components/signin/core/browser/signin_manager.h"
38 #include "components/signin/core/common/profile_management_switches.h" 38 #include "components/signin/core/common/profile_management_switches.h"
39 #include "components/signin/core/common/signin_pref_names.h" 39 #include "components/signin/core/common/signin_pref_names.h"
40 #include "content/public/browser/notification_service.h" 40 #include "content/public/browser/notification_service.h"
41 #include "content/public/browser/notification_source.h" 41 #include "content/public/browser/notification_source.h"
42 #include "content/public/test/test_utils.h" 42 #include "content/public/test/test_utils.h"
43 #include "extensions/common/id_util.h" 43 #include "extensions/common/id_util.h"
44 #include "google_apis/gaia/google_service_auth_error.h" 44 #include "google_apis/gaia/google_service_auth_error.h"
45 #include "google_apis/gaia/oauth2_mint_token_flow.h" 45 #include "google_apis/gaia/oauth2_mint_token_flow.h"
46 #include "grit/browser_resources.h"
47 #include "net/test/spawned_test_server/spawned_test_server.h" 46 #include "net/test/spawned_test_server/spawned_test_server.h"
48 #include "testing/gmock/include/gmock/gmock.h" 47 #include "testing/gmock/include/gmock/gmock.h"
49 #include "testing/gtest/include/gtest/gtest.h" 48 #include "testing/gtest/include/gtest/gtest.h"
50 #include "url/gurl.h" 49 #include "url/gurl.h"
51 50
52 using testing::_; 51 using testing::_;
53 using testing::Return; 52 using testing::Return;
54 using testing::ReturnRef; 53 using testing::ReturnRef;
55 54
56 namespace extensions { 55 namespace extensions {
(...skipping 1763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1820 EXPECT_EQ(std::string("https://abcdefghij.chromiumapp.org/callback#test"), 1819 EXPECT_EQ(std::string("https://abcdefghij.chromiumapp.org/callback#test"),
1821 url); 1820 url);
1822 } 1821 }
1823 1822
1824 } // namespace extensions 1823 } // namespace extensions
1825 1824
1826 // Tests the chrome.identity API implemented by custom JS bindings . 1825 // Tests the chrome.identity API implemented by custom JS bindings .
1827 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ChromeIdentityJsBindings) { 1826 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ChromeIdentityJsBindings) {
1828 ASSERT_TRUE(RunExtensionTest("identity/js_bindings")) << message_; 1827 ASSERT_TRUE(RunExtensionTest("identity/js_bindings")) << message_;
1829 } 1828 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/activity_log/ad_network_database.cc ('k') | chrome/browser/extensions/api/tabs/tabs_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698