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

Side by Side Diff: chrome/browser/extensions/extension_messages_apitest.cc

Issue 262016: Implement chrome.extension.connectExternal and fix various API inconsistencies. (Closed)
Patch Set: addressed comments Created 11 years, 2 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
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/extension_apitest.h"
6
7 // Tests that message passing between extensions and content scripts works.
8 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MessagingExternal) {
9 ASSERT_TRUE(LoadExtension(
10 test_data_dir_.AppendASCII("..").AppendASCII("good")
11 .AppendASCII("Extensions")
12 .AppendASCII("bjafgdebaacbbbecmhlhpofkepfkgcpa")
13 .AppendASCII("1.0")));
14
15 ASSERT_TRUE(RunExtensionTest("connect_external")) << message_;
16 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_message_service.cc ('k') | chrome/browser/extensions/extension_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698