• Zach Trudo's avatar
    Add ReportQueue · 227ef1c7
    Zach Trudo authored
    This change adds ReportQueue for generating reports.
    
    File Changes:
    ~ chrome/browser/
    | ~ BUILD.gn
    | | Add report_queue.h to the buildable unit.
    | ~ policy/messaging_layer/
    | | ~ proto/record.proto
    | | | Change EncryptedRecord::encrypted_wrapped_record from byte to
    | | | string. Behind the scenes they are treated the same, but in
    | | | practice it is easier to work with std::string().
    | | + proto/test.proto
    | | | Adds a test proto for testing.
    | | + public/report_queue.h/cc
    | | | Add ReportQueue, temporary StorageModule and temporary
    | | | EncryptionModule.
    | | + public/report_queue_unittest.cc
    | | | Add tests for ReportQueue
    | | ~ public/report_queue_configuration_unittest.cc
    | | | Import missing library.
    ~ chrome/test/BUILD.gn
    | Add unit tests and test proto.
    
    Bug: chromium:1078512
    Change-Id: If3fff7ac59e7d4a486d47ab87148cb27020c2866
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2191201Reviewed-by: default avatarSergey Poromov <poromov@chromium.org>
    Commit-Queue: Zach Trudo <zatrudo@google.com>
    Cr-Commit-Position: refs/heads/master@{#774354}
    227ef1c7
BUILD.gn 360 KB