summaryrefslogtreecommitdiffstats
path: root/components/suggestions
diff options
context:
space:
mode:
authorhalton.huo <halton.huo@intel.com>2014-12-07 23:55:46 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-08 07:56:02 +0000
commite4e4574043067c1f92bbf64b0c27e33c72d23be8 (patch)
treea9469f066405a6ff26ba303b4ae99c4c8f191646 /components/suggestions
parentb9c9f4d1120e8fe06c67a705455f8b27a80d57cd (diff)
downloadchromium_src-e4e4574043067c1f92bbf64b0c27e33c72d23be8.zip
chromium_src-e4e4574043067c1f92bbf64b0c27e33c72d23be8.tar.gz
chromium_src-e4e4574043067c1f92bbf64b0c27e33c72d23be8.tar.bz2
Remove using namespace in net/quic/quic_stream_sequencer.h
Using namespace in a header file is very dangerous since then by including that header in another file I will get the namespace imported into that file as well, so remove that usage and modify related files. BUG=None TEST=build all target Review URL: https://codereview.chromium.org/763833003 Cr-Commit-Position: refs/heads/master@{#307211}
Diffstat (limited to 'components/suggestions')
-rw-r--r--components/suggestions/suggestions_service_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/suggestions/suggestions_service_unittest.cc b/components/suggestions/suggestions_service_unittest.cc
index 40d2282..a920957 100644
--- a/components/suggestions/suggestions_service_unittest.cc
+++ b/components/suggestions/suggestions_service_unittest.cc
@@ -6,7 +6,6 @@
#include <map>
#include <sstream>
-#include <string>
#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
@@ -28,6 +27,7 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+using std::string;
using testing::DoAll;
using ::testing::AnyNumber;
using ::testing::Eq;