Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

Side by Side Diff: extensions/browser/api/cast_channel/logger_unittest.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 6
7 #include "base/test/simple_test_tick_clock.h" 7 #include "base/test/simple_test_tick_clock.h"
8 #include "extensions/browser/api/cast_channel/cast_auth_util.h" 8 #include "extensions/browser/api/cast_channel/cast_auth_util.h"
9 #include "extensions/browser/api/cast_channel/logger.h" 9 #include "extensions/browser/api/cast_channel/logger.h"
10 #include "extensions/browser/api/cast_channel/logger_util.h" 10 #include "extensions/browser/api/cast_channel/logger_util.h"
11 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/zlib/zlib.h" 13 #include "third_party/zlib/zlib.h"
14 14
15 namespace extensions { 15 namespace extensions {
16 namespace core_api { 16 namespace api {
17 namespace cast_channel { 17 namespace cast_channel {
18 18
19 const int kTestNssErrorCode = -8164; 19 const int kTestNssErrorCode = -8164;
20 20
21 using proto::AggregatedSocketEvent; 21 using proto::AggregatedSocketEvent;
22 using proto::EventType; 22 using proto::EventType;
23 using proto::Log; 23 using proto::Log;
24 using proto::SocketEvent; 24 using proto::SocketEvent;
25 25
26 class CastChannelLoggerTest : public testing::Test { 26 class CastChannelLoggerTest : public testing::Test {
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 324
325 logger_->Reset(); 325 logger_->Reset();
326 326
327 log = GetLog(); 327 log = GetLog();
328 ASSERT_TRUE(log); 328 ASSERT_TRUE(log);
329 329
330 EXPECT_EQ(0, log->aggregated_socket_event_size()); 330 EXPECT_EQ(0, log->aggregated_socket_event_size());
331 } 331 }
332 332
333 } // namespace cast_channel 333 } // namespace cast_channel
334 } // namespace core_api 334 } // namespace api
335 } // namespace extensions 335 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/cast_channel/logger.cc ('k') | extensions/browser/api/cast_channel/logger_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698