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

Side by Side Diff: remoting/host/setup/daemon_controller.cc

Issue 16236008: Send enums as strings between Chromoting Native Messaging host and web-app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 #include "daemon_controller.h"
6
7 namespace remoting {
8
9 const char DaemonController::kStateNotImplemented[] = "NOT_IMPLEMENTED";
10 const char DaemonController::kStateNotInstalled[] = "NOT_INSTALLED";
11 const char DaemonController::kStateInstalling[] = "INSTALLING";
12 const char DaemonController::kStateStopped[] = "STOPPED";
13 const char DaemonController::kStateStarting[] = "STARTING";
14 const char DaemonController::kStateStarted[] = "STARTED";
15 const char DaemonController::kStateStopping[] = "STOPPING";
16 const char DaemonController::kStateUnknown[] = "UNKNOWN";
17
18 const char DaemonController::kResultOk[] = "OK";
19 const char DaemonController::kResultFailed[] = "FAILED";
20 const char DaemonController::kResultCancelled[] = "CANCELLED";
21 const char DaemonController::kResultFailedDirectory[] = "FAILED_DIRECTORY";
22
23 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698