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

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

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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') | blimp/client/public/session/assignment.h » ('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
11 namespace blimp {
12 namespace string {
13
14 // Utilities to access internal Blimp strings.
15 //
16 // 1. Conditional compile based on |enable_blimp_client| GN flag.
17 // if true, compiled with core/resources/blimp_strings.cc.
18 // if false, compiled with core/resources/dummy_blimp_strings.cc, which returns
19 // empty strings and doesn't build with internal resources.
20 //
21 // 2. Grit file generation.
22 // The |grit/blimp_strings.h| header defines the string id,
23 // and is auto-generated based on configuration in
24 // |blimp/client/core/resources/blimp_strings.grd|, and
25 // |tools/gritsettings/resource_ids|.
26 // The actual strings are defined in |blimp_strings.grd|.
27 //
28 // 3. Public external strings, can be directly included for
29 // |blimp/client/support/resources/blimp_strings.h|, and is generated from
30 // |blimp/client/support/resources| build target.
31
32 // Converts an AssignmentRequestResult to human readable string.
33 base::string16 AssignmentResultErrorToString(
34 blimp::client::AssignmentRequestResult result);
35
36 // Converts EndConnectionMessage::Reason to human readable string.
37 base::string16 EndConnectionMessageToString(int reason);
38
39 } // namespace string
40 } // namespace blimp
41
42 #endif // BLIMP_CLIENT_PUBLIC_RESOURCES_BLIMP_STRINGS_H_
OLDNEW
« no previous file with comments | « blimp/client/public/resources/BUILD.gn ('k') | blimp/client/public/session/assignment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698