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

Side by Side Diff: ui/base/mojo/window_open_disposition_struct_traits.h

Issue 2642973006: Include AIDL files in the presubmit check for IPC security. (Closed)
Patch Set: Move `using` statements. 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
« no previous file with comments | « ui/base/mojo/window_open_disposition_enum_traits.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef UI_BASE_MOJO_WINDOW_OPEN_DISPOSITION_ENUM_TRAITS_H_ 5 #ifndef UI_BASE_MOJO_WINDOW_OPEN_DISPOSITION_STRUCT_TRAITS_H_
6 #define UI_BASE_MOJO_WINDOW_OPEN_DISPOSITION_ENUM_TRAITS_H_ 6 #define UI_BASE_MOJO_WINDOW_OPEN_DISPOSITION_STRUCT_TRAITS_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "mojo/public/cpp/bindings/enum_traits.h" 9 #include "mojo/public/cpp/bindings/enum_traits.h"
10 #include "ui/base/mojo/window_open_disposition.mojom.h" 10 #include "ui/base/mojo/window_open_disposition.mojom.h"
11 #include "ui/base/window_open_disposition.h" 11 #include "ui/base/window_open_disposition.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 14
15 template <> 15 template <>
16 struct EnumTraits<ui::mojom::WindowOpenDisposition, WindowOpenDisposition> { 16 struct EnumTraits<ui::mojom::WindowOpenDisposition, WindowOpenDisposition> {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 return true; 78 return true;
79 default: 79 default:
80 NOTREACHED(); 80 NOTREACHED();
81 return false; 81 return false;
82 } 82 }
83 } 83 }
84 }; 84 };
85 85
86 } // namespace mojo 86 } // namespace mojo
87 87
88 #endif // UI_BASE_MOJO_WINDOW_OPEN_DISPOSITION_ENUM_TRAITS_H_ 88 #endif // UI_BASE_MOJO_WINDOW_OPEN_DISPOSITION_STRUCT_TRAITS_H_
OLDNEW
« no previous file with comments | « ui/base/mojo/window_open_disposition_enum_traits.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698