diff options
author | oshima <oshima@chromium.org> | 2015-07-09 09:50:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-09 16:50:49 +0000 |
commit | 2aaee5565743e096eb9f733f7f3bf361c3b74737 (patch) | |
tree | 83060e04de87a6b848ba32f2fbb3f88441aa8168 | |
parent | d72a2faeee205ef152f257edb8790c5e079def59 (diff) | |
download | chromium_src-2aaee5565743e096eb9f733f7f3bf361c3b74737.zip chromium_src-2aaee5565743e096eb9f733f7f3bf361c3b74737.tar.gz chromium_src-2aaee5565743e096eb9f733f7f3bf361c3b74737.tar.bz2 |
Put definition in .cc into anonymous namespace to avoid conflict with other tests
BUG=None
R=hshi@chromium.org
Review URL: https://codereview.chromium.org/1223273004
Cr-Commit-Position: refs/heads/master@{#338062}
-rw-r--r-- | chromeos/audio/cras_audio_handler_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromeos/audio/cras_audio_handler_unittest.cc b/chromeos/audio/cras_audio_handler_unittest.cc index 7472a7f..1a01d2e 100644 --- a/chromeos/audio/cras_audio_handler_unittest.cc +++ b/chromeos/audio/cras_audio_handler_unittest.cc @@ -18,6 +18,7 @@ #include "testing/gtest/include/gtest/gtest.h" namespace chromeos { +namespace { const uint64 kInternalSpeakerId = 10001; const uint64 kHeadphoneId = 10002; @@ -279,6 +280,8 @@ class TestObserver : public chromeos::CrasAudioHandler::AudioObserver { DISALLOW_COPY_AND_ASSIGN(TestObserver); }; +} // namespace + class CrasAudioHandlerTest : public testing::Test { public: CrasAudioHandlerTest() : cras_audio_handler_(NULL), |