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

Side by Side Diff: runtime/vm/uri.h

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards Created 4 years, 1 month 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 | « runtime/vm/unit_test.h ('k') | runtime/vm/verifier.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_URI_H_ 5 #ifndef RUNTIME_VM_URI_H_
6 #define VM_URI_H_ 6 #define RUNTIME_VM_URI_H_
7 7
8 #include "platform/utils.h" 8 #include "platform/utils.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 10
11 namespace dart { 11 namespace dart {
12 12
13 struct ParsedUri { 13 struct ParsedUri {
14 const char* scheme; 14 const char* scheme;
15 const char* userinfo; 15 const char* userinfo;
16 const char* host; 16 const char* host;
17 const char* port; 17 const char* port;
18 const char* path; 18 const char* path;
19 const char* query; 19 const char* query;
20 const char* fragment; 20 const char* fragment;
21 }; 21 };
22 22
23 // Parses a uri into its parts. Returns false if the parse fails. 23 // Parses a uri into its parts. Returns false if the parse fails.
24 bool ParseUri(const char* uri, ParsedUri* parsed_uri); 24 bool ParseUri(const char* uri, ParsedUri* parsed_uri);
25 25
26 // Resolves some reference uri with respect to a base uri. 26 // Resolves some reference uri with respect to a base uri.
27 bool ResolveUri(const char* ref_uri, 27 bool ResolveUri(const char* ref_uri,
28 const char* base_uri, 28 const char* base_uri,
29 const char** target_uri); 29 const char** target_uri);
30 30
31 } // namespace dart 31 } // namespace dart
32 32
33 #endif // VM_URI_H_ 33 #endif // RUNTIME_VM_URI_H_
OLDNEW
« no previous file with comments | « runtime/vm/unit_test.h ('k') | runtime/vm/verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698