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

Side by Side Diff: blimp/engine/mojo/font_fetcher_mojo_impl_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/macros.h" 5 #include "base/macros.h"
6 #include "base/memory/ptr_util.h"
6 #include "blimp/engine/browser/font_data_fetcher.h" 7 #include "blimp/engine/browser/font_data_fetcher.h"
7 #include "blimp/engine/mojo/font_fetcher_mojo_impl.h" 8 #include "blimp/engine/mojo/font_fetcher_mojo_impl.h"
8 #include "mojo/public/cpp/system/buffer.h" 9 #include "mojo/public/cpp/system/buffer.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace blimp { 12 namespace blimp {
12 namespace engine { 13 namespace engine {
13 namespace { 14 namespace {
14 15
15 const char kFakeHash[] = "fake hash"; 16 const char kFakeHash[] = "fake hash";
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Expect that dummy font data is written correctly to a Mojo DataPipe. 68 // Expect that dummy font data is written correctly to a Mojo DataPipe.
68 mojo_ptr->GetFontStream(kFakeHash, base::Bind(&VerifyDataWriteCorrectly)); 69 mojo_ptr->GetFontStream(kFakeHash, base::Bind(&VerifyDataWriteCorrectly));
69 70
70 // Expect empty handle if the font stream is empty. 71 // Expect empty handle if the font stream is empty.
71 mojo_ptr->GetFontStream("", base::Bind(&VerifyEmptyDataWrite)); 72 mojo_ptr->GetFontStream("", base::Bind(&VerifyEmptyDataWrite));
72 } 73 }
73 74
74 } // namespace 75 } // namespace
75 } // namespace engine 76 } // namespace engine
76 } // namespace blimp 77 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/browser/font_data_fetcher_impl_unittest.cc ('k') | blimp/engine/renderer/blob_channel_sender_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698