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

Side by Side Diff: third_party/WebKit/Source/platform/mojo/SecurityOriginStructTraits.h

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 #ifndef SecurityOriginStructTraits_h 5 #ifndef SecurityOriginStructTraits_h
6 #define SecurityOriginStructTraits_h 6 #define SecurityOriginStructTraits_h
7 7
8 #include "platform/weborigin/SecurityOrigin.h" 8 #include "platform/weborigin/SecurityOrigin.h"
9 #include "platform/wtf/text/WTFString.h" 9 #include "platform/wtf/text/WTFString.h"
10 #include "url/mojo/origin.mojom-blink.h" 10 #include "url/mojo/origin.mojom-blink.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 48
49 // If a unique origin was created, but the unique flag wasn't set, then 49 // If a unique origin was created, but the unique flag wasn't set, then
50 // the values provided to 'create' were invalid. 50 // the values provided to 'create' were invalid.
51 if (!data.unique() && (*out)->IsUnique()) 51 if (!data.unique() && (*out)->IsUnique())
52 return false; 52 return false;
53 53
54 return true; 54 return true;
55 } 55 }
56 }; 56 };
57 } 57 } // namespace mojo
58 58
59 #endif // SecurityOriginStructTraits_h 59 #endif // SecurityOriginStructTraits_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698