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

Side by Side Diff: blimp/client/public/resources/blimp_strings.h

Issue 2447483002: Test win_clang compile only check in core/resources. (Closed)
Patch Set: filter win platform build Created 4 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
« no previous file with comments | « blimp/client/public/resources/BUILD.gn ('k') | build/android/lint/suppressions.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_CLIENT_PUBLIC_RESOURCES_BLIMP_STRINGS_H_
6 #define BLIMP_CLIENT_PUBLIC_RESOURCES_BLIMP_STRINGS_H_
7
8 #include "base/macros.h"
9 #include "blimp/client/public/session/assignment.h"
10 #include "blimp/common/proto/protocol_control.pb.h"
11
12 namespace blimp {
13 namespace string {
14
15 // Utilities to access internal Blimp strings.
16 //
17 // 1. Conditional compile based on |enable_blimp_client| GN flag.
18 // if true, compiled with core/resources/blimp_strings.cc.
19 // if false, compiled with core/resources/dummy_blimp_strings.cc, which returns
20 // empty strings and doesn't build with internal resources.
21 //
22 // 2. Grit file generation.
23 // The |grit/blimp_strings.h| header defines the string id,
24 // and is auto-generated based on configuration in
25 // |blimp/client/core/resources/blimp_strings.grd|, and
26 // |tools/gritsettings/resource_ids|.
27 // The actual strings are defined in |blimp_strings.grd|.
28 //
29 // 3. Public external strings, can be directly included for
30 // |blimp/client/support/resources/blimp_strings.h|, and is generated from
31 // |blimp/client/support/resources| build target.
32
33 // Converts an AssignmentRequestResult to human readable string.
34 base::string16 AssignmentResultErrorToString(
35 blimp::client::AssignmentRequestResult result);
36
37 // Converts EndConnectionMessage::Reason to human readable string.
38 base::string16 EndConnectionMessageToString(
39 EndConnectionMessage::Reason reason);
40
41 } // namespace string
42 } // namespace blimp
43
44 #endif // BLIMP_CLIENT_PUBLIC_RESOURCES_BLIMP_STRINGS_H_
OLDNEW
« no previous file with comments | « blimp/client/public/resources/BUILD.gn ('k') | build/android/lint/suppressions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698