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

Side by Side Diff: chrome/browser/extensions/extension_apitest.h

Issue 6683060: Private API for extensions like ssh-client that need access to TCP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 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 (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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // All extensions tested by ExtensionApiTest are in the "api_test" dir. 112 // All extensions tested by ExtensionApiTest are in the "api_test" dir.
113 virtual void SetUpCommandLine(CommandLine* command_line); 113 virtual void SetUpCommandLine(CommandLine* command_line);
114 114
115 // If it failed, what was the error message? 115 // If it failed, what was the error message?
116 std::string message_; 116 std::string message_;
117 117
118 private: 118 private:
119 bool RunExtensionTestImpl(const char* extension_name, 119 bool RunExtensionTestImpl(const char* extension_name,
120 const std::string& test_page, 120 const std::string& test_page,
121 bool enable_incogntio, 121 bool enable_incognito,
Aaron Boodman 2011/03/29 18:38:34 thanks!
122 bool enable_fileaccess, 122 bool enable_fileaccess,
123 bool load_as_component); 123 bool load_as_component);
124 124
125 // Hold details of the test, set in C++, which can be accessed by 125 // Hold details of the test, set in C++, which can be accessed by
126 // javascript using chrome.test.getConfig(). 126 // javascript using chrome.test.getConfig().
127 scoped_ptr<DictionaryValue> test_config_; 127 scoped_ptr<DictionaryValue> test_config_;
128 }; 128 };
129 129
130 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_ 130 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APITEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698