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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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
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 <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/strings/stringprintf.h"
14 #include "base/values.h" 13 #include "base/values.h"
15 #include "build/build_config.h" 14 #include "build/build_config.h"
16 #include "chrome/browser/chrome_notification_types.h" 15 #include "chrome/browser/chrome_notification_types.h"
17 #include "components/prefs/pref_service.h" 16 #include "components/prefs/pref_service.h"
18 #if defined(OS_CHROMEOS) 17 #if defined(OS_CHROMEOS)
19 #include "chrome/browser/chromeos/login/users/mock_user_manager.h" 18 #include "chrome/browser/chromeos/login/users/mock_user_manager.h"
20 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" 19 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h"
21 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" 20 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
22 #include "chrome/browser/chromeos/settings/stub_install_attributes.h" 21 #include "chrome/browser/chromeos/settings/stub_install_attributes.h"
23 #include "extensions/common/extension_builder.h" 22 #include "extensions/common/extension_builder.h"
(...skipping 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 EXPECT_EQ(std::string("https://abcdefghij.chromiumapp.org/callback#test"), 1852 EXPECT_EQ(std::string("https://abcdefghij.chromiumapp.org/callback#test"),
1854 url); 1853 url);
1855 } 1854 }
1856 1855
1857 } // namespace extensions 1856 } // namespace extensions
1858 1857
1859 // Tests the chrome.identity API implemented by custom JS bindings . 1858 // Tests the chrome.identity API implemented by custom JS bindings .
1860 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ChromeIdentityJsBindings) { 1859 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ChromeIdentityJsBindings) {
1861 ASSERT_TRUE(RunExtensionTest("identity/js_bindings")) << message_; 1860 ASSERT_TRUE(RunExtensionTest("identity/js_bindings")) << message_;
1862 } 1861 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698