1 /* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
2 Licensed under the Apache License, Version 2.0 (the "License");
3 you may not use this file except in compliance with the License.
4 You may obtain a copy of the License at
5     http://www.apache.org/licenses/LICENSE-2.0
6 Unless required by applicable law or agreed to in writing, software
7 distributed under the License is distributed on an "AS IS" BASIS,
8 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9 See the License for the specific language governing permissions and
10 limitations under the License.
11 ==============================================================================*/
12 #ifndef TENSORFLOW_CORE_PLATFORM_GRPC_SERVICES_H_
13 #define TENSORFLOW_CORE_PLATFORM_GRPC_SERVICES_H_
14 
15 #include "tensorflow/core/profiler/profiler_analysis.grpc.pb.h"
16 #include "tensorflow/core/profiler/profiler_service.grpc.pb.h"
17 
18 #if !defined(PLATFORM_GOOGLE)
19 
20 namespace tensorflow {
21 namespace grpc {
22 
23 // Google internal GRPC generates services under namespace "tensorflow::grpc".
24 // Creating aliases here to make sure we can access services under namespace
25 // "tensorflow::grpc" both in google internal and open-source.
26 using ::tensorflow::ProfileAnalysis;
27 using ::tensorflow::ProfilerService;
28 
29 }  // namespace grpc
30 }  // namespace tensorflow
31 #endif
32 
33 #endif  // TENSORFLOW_CORE_PLATFORM_GRPC_SERVICES_H_
34