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

Side by Side Diff: third_party/mojo/src/mojo/edk/system/unique_identifier.h

Issue 1367303002: Update includes of mojo/edk to be fully-qualified instead of relative to third_party/mojo/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update all include guards Created 5 years, 2 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 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 #ifndef MOJO_EDK_SYSTEM_UNIQUE_IDENTIFIER_H_ 5 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_UNIQUE_IDENTIFIER_H_
6 #define MOJO_EDK_SYSTEM_UNIQUE_IDENTIFIER_H_ 6 #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_UNIQUE_IDENTIFIER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string.h> 9 #include <string.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/containers/hash_tables.h" 13 #include "base/containers/hash_tables.h"
14 #include "mojo/edk/system/system_impl_export.h"
15 #include "mojo/public/cpp/system/macros.h" 14 #include "mojo/public/cpp/system/macros.h"
15 #include "third_party/mojo/src/mojo/edk/system/system_impl_export.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace system { 18 namespace system {
19 19
20 class UniqueIdentifier; 20 class UniqueIdentifier;
21 21
22 } // namespace system 22 } // namespace system
23 } // namespace mojo 23 } // namespace mojo
24 24
25 namespace BASE_HASH_NAMESPACE { 25 namespace BASE_HASH_NAMESPACE {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 size_t operator()(mojo::system::UniqueIdentifier unique_identifier) const { 94 size_t operator()(mojo::system::UniqueIdentifier unique_identifier) const {
95 return base::HashInts64( 95 return base::HashInts64(
96 *reinterpret_cast<uint64_t*>(unique_identifier.data_), 96 *reinterpret_cast<uint64_t*>(unique_identifier.data_),
97 *reinterpret_cast<uint64_t*>(unique_identifier.data_ + 97 *reinterpret_cast<uint64_t*>(unique_identifier.data_ +
98 sizeof(uint64_t))); 98 sizeof(uint64_t)));
99 } 99 }
100 }; 100 };
101 101
102 } // BASE_HASH_NAMESPACE 102 } // BASE_HASH_NAMESPACE
103 103
104 #endif // MOJO_EDK_SYSTEM_UNIQUE_IDENTIFIER_H_ 104 #endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_UNIQUE_IDENTIFIER_H_
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/transport_data.cc ('k') | third_party/mojo/src/mojo/edk/system/unique_identifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698