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

Unified Diff: remoting/host/plugin/host_script_object.h

Issue 10951020: Show a helpful error message if a host domain policy blocked an attempt to use (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review. Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/plugin/host_script_object.h
diff --git a/remoting/host/plugin/host_script_object.h b/remoting/host/plugin/host_script_object.h
index 1729f7eaba943a1e26a5aba1641ca2bb6c0b5dff..db452cfc3b2eb57bb7afb2db2e241d4d62e0ec16 100644
--- a/remoting/host/plugin/host_script_object.h
+++ b/remoting/host/plugin/host_script_object.h
@@ -85,8 +85,8 @@ class HostNPScriptObject : public HostStatusObserver {
void SetWindow(NPWindow* np_window);
private:
- // These state values are duplicated in the JS code. Remember to update both
- // copies when making changes.
+ // These state values are duplicated in host_session.js. Remember to update
+ // both copies when making changes.
enum State {
kDisconnected,
kStarting,
@@ -94,7 +94,8 @@ class HostNPScriptObject : public HostStatusObserver {
kReceivedAccessCode,
kConnected,
kDisconnecting,
- kError
+ kError,
+ kInvalidDomainError
};
//////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | remoting/host/plugin/host_script_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698