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

Side by Side Diff: third_party/WebKit/public/web/ConsoleMessageStructTraits.h

Issue 2630273002: ServiceWorker: mojofy ResumeAfterDownload and AddMessageToConsole (Closed)
Patch Set: s/is/was/ , add :: before blink and remove unnecessary include Created 3 years, 11 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ConsoleMessageStructTraits_h
6 #define ConsoleMessageStructTraits_h
7
8 #include "WebConsoleMessage.h"
9 #include "mojo/public/cpp/bindings/enum_traits.h"
10 #include "third_party/WebKit/public/web/console_message.mojom-shared.h"
11
12 namespace mojo {
13
14 template <>
15 struct EnumTraits<::blink::mojom::ConsoleMessageLevel,
16 ::blink::WebConsoleMessage::Level> {
17 static ::blink::mojom::ConsoleMessageLevel ToMojom(
18 ::blink::WebConsoleMessage::Level);
19 static bool FromMojom(::blink::mojom::ConsoleMessageLevel,
20 ::blink::WebConsoleMessage::Level* out);
21 };
22
23 } // namespace mojo
24
25 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/public_typemaps.gni ('k') | third_party/WebKit/public/web/ConsoleMessageStructTraits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698