Commit fe11d8d5 authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

Remove using directives ("using namespace x") from ash/.

Bug: 82078
Change-Id: Iaa5d62ebb39e94c7a83b627c4ae75534e7b7223f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1820016
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699369}
parent e5c4eafc
......@@ -44,13 +44,11 @@ void AssistantSetupController::OnAssistantControllerDestroying() {
void AssistantSetupController::OnDeepLinkReceived(
assistant::util::DeepLinkType type,
const std::map<std::string, std::string>& params) {
using namespace assistant::util;
if (type != DeepLinkType::kOnboarding)
if (type != assistant::util::DeepLinkType::kOnboarding)
return;
base::Optional<bool> relaunch =
GetDeepLinkParamAsBool(params, DeepLinkParam::kRelaunch);
base::Optional<bool> relaunch = assistant::util::GetDeepLinkParamAsBool(
params, assistant::util::DeepLinkParam::kRelaunch);
StartOnboarding(relaunch.value_or(false));
}
......
......@@ -22,8 +22,8 @@
#include "components/prefs/pref_service.h"
#include "components/session_manager/session_manager_types.h"
using session_manager::SessionState;
using ::testing::_;
using namespace session_manager;
namespace ash {
......
......@@ -12,7 +12,7 @@
#include "base/memory/ptr_util.h"
#include "testing/gtest/include/gtest/gtest.h"
using namespace ash;
namespace ash {
namespace {
......@@ -141,3 +141,5 @@ TEST_F(PaletteToolManagerTest, MultipleToolsActivateDeactivate) {
EXPECT_FALSE(action_2->enabled());
palette_tool_manager_->DeactivateTool(action_1->GetToolId());
}
} // namespace ash
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment