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

Side by Side Diff: chrome/browser/translate/translate_manager_browsertest.cc

Issue 6532034: GTTF: Use a fresh TestingBrowserProcess for each test, part #2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 5
6 #include <set> 6 #include <set>
7 7
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/prefs/pref_service.h" 10 #include "chrome/browser/prefs/pref_service.h"
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 NULL); 1221 NULL);
1222 // Now simulate the URL fetch. 1222 // Now simulate the URL fetch.
1223 SimulateURLFetch(true); 1223 SimulateURLFetch(true);
1224 // Now the message should have been sent. 1224 // Now the message should have been sent.
1225 int page_id = 0; 1225 int page_id = 0;
1226 std::string original_lang, target_lang; 1226 std::string original_lang, target_lang;
1227 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang)); 1227 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1228 EXPECT_EQ("es", original_lang); 1228 EXPECT_EQ("es", original_lang);
1229 EXPECT_EQ("en", target_lang); 1229 EXPECT_EQ("en", target_lang);
1230 } 1230 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698