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

Side by Side Diff: extensions/browser/api/mime_handler_private/mime_handler_private_unittest.cc

Issue 889253004: Add support for extensions_unittests to the GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (gn) rebase Created 5 years, 10 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
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/api/vpn_provider/vpn_service_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "content/public/browser/stream_handle.h" 6 #include "content/public/browser/stream_handle.h"
7 #include "content/public/browser/stream_info.h" 7 #include "content/public/browser/stream_info.h"
8 #include "extensions/browser/api/mime_handler_private/mime_handler_private.cc" 8 #include "extensions/browser/api/mime_handler_private/mime_handler_private.h"
9 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_gues t.h" 9 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_gues t.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 class TestStreamHandle : public content::StreamHandle { 14 class TestStreamHandle : public content::StreamHandle {
15 public: 15 public:
16 TestStreamHandle() : url_("stream://url") {} 16 TestStreamHandle() : url_("stream://url") {}
17 17
18 ~TestStreamHandle() override { 18 ~TestStreamHandle() override {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 ASSERT_FALSE(stream_info_); 97 ASSERT_FALSE(stream_info_);
98 98
99 stream_container_.reset(); 99 stream_container_.reset();
100 service_->GetStreamInfo( 100 service_->GetStreamInfo(
101 base::Bind(&MimeHandlerServiceImplTest::GetStreamInfoCallback, 101 base::Bind(&MimeHandlerServiceImplTest::GetStreamInfoCallback,
102 base::Unretained(this))); 102 base::Unretained(this)));
103 ASSERT_FALSE(stream_info_); 103 ASSERT_FALSE(stream_info_);
104 } 104 }
105 105
106 } // namespace extensions 106 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/api/vpn_provider/vpn_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698