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

Side by Side Diff: chrome/renderer/extensions/extension_localization_peer_unittest.cc

Issue 228073005: Move core extensions l10n code to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unused header is unused Created 6 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 <map> 5 #include <map>
6 #include <string> 6 #include <string>
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/common/extensions/message_bundle.h"
10 #include "chrome/renderer/extensions/extension_localization_peer.h" 9 #include "chrome/renderer/extensions/extension_localization_peer.h"
10 #include "extensions/common/message_bundle.h"
11 #include "ipc/ipc_sender.h" 11 #include "ipc/ipc_sender.h"
12 #include "ipc/ipc_sync_message.h" 12 #include "ipc/ipc_sync_message.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/url_request/url_request_status.h" 14 #include "net/url_request/url_request_status.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "webkit/child/resource_loader_bridge.h" 17 #include "webkit/child/resource_loader_bridge.h"
18 18
19 using testing::_; 19 using testing::_;
20 using testing::DoAll; 20 using testing::DoAll;
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 EXPECT_CALL(*original_peer_, 242 EXPECT_CALL(*original_peer_,
243 OnReceivedData(StrEq(message.data()), message.length(), -1)); 243 OnReceivedData(StrEq(message.data()), message.length(), -1));
244 244
245 EXPECT_CALL(*original_peer_, OnReceivedResponse(_)); 245 EXPECT_CALL(*original_peer_, OnReceivedResponse(_));
246 EXPECT_CALL(*original_peer_, OnCompletedRequest( 246 EXPECT_CALL(*original_peer_, OnCompletedRequest(
247 net::OK, false, false, "", base::TimeTicks(), -1)); 247 net::OK, false, false, "", base::TimeTicks(), -1));
248 248
249 filter_peer->OnCompletedRequest( 249 filter_peer->OnCompletedRequest(
250 net::OK, false, false, std::string(), base::TimeTicks(), -1); 250 net::OK, false, false, std::string(), base::TimeTicks(), -1);
251 } 251 }
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_localization_peer.cc ('k') | chrome/renderer/extensions/i18n_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698