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

Unified Diff: chrome/browser/copresence/chrome_whispernet_config.h

Issue 2131993002: Delete the audio modem and copresence private APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eol
Patch Set: Sync again Created 4 years, 5 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
Index: chrome/browser/copresence/chrome_whispernet_config.h
diff --git a/chrome/browser/copresence/chrome_whispernet_config.h b/chrome/browser/copresence/chrome_whispernet_config.h
deleted file mode 100644
index bc36967c1bbf0d2345e2c80527435cc663a00bf7..0000000000000000000000000000000000000000
--- a/chrome/browser/copresence/chrome_whispernet_config.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_
-#define CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_
-
-#include <stdint.h>
-
-// Shared structs with whispernet. TODO(rkc): These will be removed once we can
-// get protobufs working with Nacl. At that point, we'll just pass in
-// config_data.proto to the whispernet nacl wrapper directly.
-
-// We will be using fixed types in all these structures since they will be
-// stuffed into a string and then read on the other side via a completely
-// different toolchain.
-
-struct AudioDsssParams {
- int64_t include_parity_symbol;
- int64_t use_single_sideband;
- double desired_carrier_frequency;
- int64_t use_crc_16;
- double coder_sample_rate;
- double recording_sample_rate;
- int64_t bits_per_symbol;
- int64_t min_cycles_per_frame;
- int64_t baseband_decimation_factor;
- int64_t upsampling_factor;
- int64_t num_repetitions_to_play;
-};
-
-struct AdsrParams {
- int64_t attack_time_millis;
- int64_t decay_time_millis;
- int64_t sustain_time_millis;
- int64_t release_time_millis;
- double sustain_amplitude;
-};
-
-struct AudioDtmfParams {
- int64_t include_parity_symbol;
- int64_t use_crc_16;
- double coder_sample_rate;
- double recording_sample_rate;
- int64_t baseband_decimation_factor;
- int64_t frequencies_per_symbol;
- int64_t window_duration_millis;
- AdsrParams adsr_params;
- int64_t num_repetitions_to_play;
-};
-
-struct LoggerParam {
- int64_t clear_cached_request_duration_millis;
- int64_t request_buffer_limit;
-};
-
-struct AudioParamData {
- LoggerParam logger;
- AudioDsssParams audio_dsss;
- AudioDtmfParams audio_dtmf;
- int64_t recording_channels;
-};
-
-#endif // CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_
« no previous file with comments | « chrome/browser/copresence/chrome_whispernet_client_browsertest.cc ('k') | chrome/browser/extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698