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

Unified Diff: chrome/browser/extensions/api/system_info_memory/system_info_memory_apitest.cc

Issue 16256023: Move systemInfo.memory API out of experimental namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved merge conflict from new commits 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/system_info_memory/system_info_memory_apitest.cc
diff --git a/chrome/browser/extensions/api/system_info_memory/system_info_memory_apitest.cc b/chrome/browser/extensions/api/system_info_memory/system_info_memory_apitest.cc
index 8035b70937767af2934500fd40d24c364da2c51c..a101640f71c5178b1e9ca0f51b1826d03329dfc8 100644
--- a/chrome/browser/extensions/api/system_info_memory/system_info_memory_apitest.cc
+++ b/chrome/browser/extensions/api/system_info_memory/system_info_memory_apitest.cc
@@ -12,7 +12,9 @@
namespace extensions {
-using api::experimental_system_info_memory::MemoryInfo;
+using api::system_info_memory::MemoryInfo;
+
+const char kExtensionId[] = "lfmcnjhchhgejbpbonjobnlbcgcnmjif";
class MockMemoryInfoProviderImpl : public MemoryInfoProvider {
public:
@@ -34,7 +36,8 @@ class SystemInfoMemoryApiTest: public ExtensionApiTest {
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
ExtensionApiTest::SetUpCommandLine(command_line);
- command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
+ command_line->AppendSwitchASCII(switches::kWhitelistedExtensionID,
+ kExtensionId);
}
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698