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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_counter_utils_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/browsing_data/browsing_data_counter_utils.h" 5 #include "chrome/browser/browsing_data/browsing_data_counter_utils.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/strings/stringprintf.h"
12 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/test/base/testing_browser_process.h" 12 #include "chrome/test/base/testing_browser_process.h"
14 #include "chrome/test/base/testing_profile.h" 13 #include "chrome/test/base/testing_profile.h"
15 #include "content/public/test/test_browser_thread_bundle.h" 14 #include "content/public/test/test_browser_thread_bundle.h"
16 #include "extensions/features/features.h" 15 #include "extensions/features/features.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
18 17
19 #if BUILDFLAG(ENABLE_EXTENSIONS) 18 #if BUILDFLAG(ENABLE_EXTENSIONS)
20 #include "base/strings/string_split.h" 19 #include "base/strings/string_split.h"
21 #include "chrome/browser/browsing_data/hosted_apps_counter.h" 20 #include "chrome/browser/browsing_data/hosted_apps_counter.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 HostedAppsCounter::HostedAppsResult result( 68 HostedAppsCounter::HostedAppsResult result(
70 &counter, 69 &counter,
71 apps.size(), 70 apps.size(),
72 examples); 71 examples);
73 72
74 base::string16 output = GetChromeCounterTextFromResult(&result); 73 base::string16 output = GetChromeCounterTextFromResult(&result);
75 EXPECT_EQ(output, base::ASCIIToUTF16(test_case.expected_output)); 74 EXPECT_EQ(output, base::ASCIIToUTF16(test_case.expected_output));
76 } 75 }
77 } 76 }
78 #endif 77 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698