| Index: chrome/browser/extensions/api/networking_private/networking_private_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc b/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc
|
| index 92cfe2de04eb541a5a1c97dae0d7db32c02d55d1..45adfafe32ead07a6b01a6e2741ba12d4839c34f 100644
|
| --- a/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc
|
| +++ b/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc
|
| @@ -10,6 +10,7 @@
|
| #include "chrome/browser/extensions/extension_apitest.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/test/base/ui_test_utils.h"
|
| +#include "extensions/common/switches.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| @@ -117,8 +118,9 @@ class ExtensionNetworkingPrivateApiTest :
|
| virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
|
| ExtensionApiTest::SetUpCommandLine(command_line);
|
| // Whitelist the extension ID of the test extension.
|
| - command_line->AppendSwitchASCII(::switches::kWhitelistedExtensionID,
|
| - "epcifkihnkjgphfkloaaleeakhpmgdmn");
|
| + command_line->AppendSwitchASCII(
|
| + extensions::switches::kWhitelistedExtensionID,
|
| + "epcifkihnkjgphfkloaaleeakhpmgdmn");
|
|
|
| // TODO(pneubeck): Remove the following hack, once the NetworkingPrivateAPI
|
| // uses the ProfileHelper to obtain the userhash crbug/238623.
|
| @@ -260,8 +262,9 @@ class ExtensionNetworkingPrivateApiTest :
|
| virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
|
| ExtensionApiTest::SetUpCommandLine(command_line);
|
| // Whitelist the extension ID of the test extension.
|
| - command_line->AppendSwitchASCII(::switches::kWhitelistedExtensionID,
|
| - "epcifkihnkjgphfkloaaleeakhpmgdmn");
|
| + command_line->AppendSwitchASCII(
|
| + extensions::switches::kWhitelistedExtensionID,
|
| + "epcifkihnkjgphfkloaaleeakhpmgdmn");
|
| }
|
|
|
| static KeyedService* CreateNetworkingPrivateServiceClient(
|
|
|