summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-10 00:03:28 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-10 00:03:28 +0000
commiteb84780bc1c9f770b3b6029df44be59cc7d75125 (patch)
tree0fc16618ac883e6e0109019b7f29b7368c04efec /chrome/browser/history
parent7d0e949cf60e10666ea69dc3e8675ba56e97649f (diff)
downloadchromium_src-eb84780bc1c9f770b3b6029df44be59cc7d75125.zip
chromium_src-eb84780bc1c9f770b3b6029df44be59cc7d75125.tar.gz
chromium_src-eb84780bc1c9f770b3b6029df44be59cc7d75125.tar.bz2
Eliminate "using namespace" directives from extensions code
These are banned by the style guide - see the bug for links to why. BUG=117267 TEST=Code should compile and existing tests should pass Review URL: http://codereview.chromium.org/9666017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history')
-rw-r--r--chrome/browser/history/top_sites_extension_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/history/top_sites_extension_test.cc b/chrome/browser/history/top_sites_extension_test.cc
index 6ceea51..13f8e69 100644
--- a/chrome/browser/history/top_sites_extension_test.cc
+++ b/chrome/browser/history/top_sites_extension_test.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,7 +11,7 @@
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
-using namespace extension_function_test_utils;
+namespace utils = extension_function_test_utils;
namespace {
@@ -60,7 +60,7 @@ IN_PROC_BROWSER_TEST_F(TopSitesExtensionTest, GetTopSites) {
// Without a callback the function will not generate a result.
get_top_sites_function->set_has_callback(true);
- scoped_ptr<base::Value> result(RunFunctionAndReturnResult(
+ scoped_ptr<base::Value> result(utils::RunFunctionAndReturnResult(
get_top_sites_function.get(), "[]", browser()));
base::ListValue* list;
ASSERT_TRUE(result->GetAsList(&list));