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

Unified Diff: components/gcm_driver/common/gcm_messages.h

Issue 1243563002: Teach the GCM Driver how to decrypt incoming messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcm-push-keys
Patch Set: address comment Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/gcm_driver/common/gcm_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/common/gcm_messages.h
diff --git a/components/gcm_driver/common/gcm_messages.h b/components/gcm_driver/common/gcm_messages.h
index 8d8c5b957c0664f803cb02929e49eccce5d5a1a7..a6a071cc8c1ef37d4b29a54df131a0e347d23a47 100644
--- a/components/gcm_driver/common/gcm_messages.h
+++ b/components/gcm_driver/common/gcm_messages.h
@@ -38,6 +38,10 @@ struct GCM_DRIVER_EXPORT IncomingMessage {
std::string collapse_key;
std::string sender_id;
std::string raw_data;
+
+ // Whether the contents of the message have been decrypted, and are
+ // available in |raw_data|.
+ bool decrypted;
};
} // namespace gcm
« no previous file with comments | « components/components_tests.gyp ('k') | components/gcm_driver/common/gcm_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698