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

Side by Side Diff: mojo/services/html_viewer/blink_platform_impl.cc

Issue 393983004: Move mojo/examples/html_viewer to mojo/services/html_viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 6 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 | Annotate | Revision Log
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 "mojo/examples/html_viewer/blink_platform_impl.h" 5 #include "mojo/services/html_viewer/blink_platform_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/rand_util.h" 9 #include "base/rand_util.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "mojo/examples/html_viewer/webthread_impl.h"
14 #include "mojo/examples/html_viewer/weburlloader_impl.h"
15 #include "mojo/public/cpp/application/application_impl.h" 13 #include "mojo/public/cpp/application/application_impl.h"
14 #include "mojo/services/html_viewer/webthread_impl.h"
15 #include "mojo/services/html_viewer/weburlloader_impl.h"
16 #include "net/base/data_url.h" 16 #include "net/base/data_url.h"
17 #include "net/base/mime_util.h" 17 #include "net/base/mime_util.h"
18 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
19 #include "third_party/WebKit/public/platform/WebWaitableEvent.h" 19 #include "third_party/WebKit/public/platform/WebWaitableEvent.h"
20 20
21 namespace mojo { 21 namespace mojo {
22 namespace examples { 22 namespace examples {
23 namespace { 23 namespace {
24 24
25 // TODO(darin): Figure out what our UA should really be. 25 // TODO(darin): Figure out what our UA should really be.
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 // static 209 // static
210 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { 210 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) {
211 WebThreadImplForMessageLoop* impl = 211 WebThreadImplForMessageLoop* impl =
212 static_cast<WebThreadImplForMessageLoop*>(thread); 212 static_cast<WebThreadImplForMessageLoop*>(thread);
213 delete impl; 213 delete impl;
214 } 214 }
215 215
216 } // namespace examples 216 } // namespace examples
217 } // namespace mojo 217 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698