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

Side by Side Diff: chrome/browser/spellchecker/feedback_sender_unittest.cc

Issue 16387014: Use a direct include of utf_string_conversions.h in chrome/browser/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/speech/tts_win.cc ('k') | chrome/browser/spellchecker/misspelling_unittest.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/browser/spellchecker/feedback_sender.h" 14 #include "chrome/browser/spellchecker/feedback_sender.h"
15 #include "chrome/common/spellcheck_common.h" 15 #include "chrome/common/spellcheck_common.h"
16 #include "chrome/common/spellcheck_marker.h" 16 #include "chrome/common/spellcheck_marker.h"
17 #include "chrome/common/spellcheck_result.h" 17 #include "chrome/common/spellcheck_result.h"
18 #include "chrome/test/base/testing_profile.h" 18 #include "chrome/test/base/testing_profile.h"
19 #include "content/public/test/test_browser_thread.h" 19 #include "content/public/test/test_browser_thread.h"
20 #include "net/url_request/test_url_fetcher_factory.h" 20 #include "net/url_request/test_url_fetcher_factory.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 feedback_.OnReceiveDocumentMarkers(kRendererProcessId, 519 feedback_.OnReceiveDocumentMarkers(kRendererProcessId,
520 std::vector<uint32>()); 520 std::vector<uint32>());
521 net::TestURLFetcher* fetcher = GetFetcher(); 521 net::TestURLFetcher* fetcher = GetFetcher();
522 EXPECT_EQ(1, CountOccurences(fetcher->upload_data(), "SELECT")) 522 EXPECT_EQ(1, CountOccurences(fetcher->upload_data(), "SELECT"))
523 << fetcher->upload_data(); 523 << fetcher->upload_data();
524 EXPECT_EQ(2, CountOccurences(fetcher->upload_data(), "ADD_TO_DICT")) 524 EXPECT_EQ(2, CountOccurences(fetcher->upload_data(), "ADD_TO_DICT"))
525 << fetcher->upload_data(); 525 << fetcher->upload_data();
526 } 526 }
527 527
528 } // namespace spellcheck 528 } // namespace spellcheck
OLDNEW
« no previous file with comments | « chrome/browser/speech/tts_win.cc ('k') | chrome/browser/spellchecker/misspelling_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698