Fix some includes.
GitOrigin-RevId: a57e47e5925fe1e96080945d40641c84b4e30669
This commit is contained in:
parent
71b1dbce7a
commit
ca1503c22f
@ -7,7 +7,6 @@
|
||||
#include "td/utils/benchmark.h"
|
||||
|
||||
#include "td/utils/crypto.h"
|
||||
#include "td/utils/int_types.h"
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/port/thread.h"
|
||||
#include "td/utils/Random.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "td/mtproto/crypto.h"
|
||||
|
||||
#include "td/utils/buffer.h"
|
||||
#include "td/utils/int_types.h"
|
||||
#include "td/utils/Slice.h"
|
||||
#include "td/utils/Status.h"
|
||||
#include "td/utils/UInt.h"
|
||||
|
@ -85,7 +85,7 @@ namespace mtproto {
|
||||
* - ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong;
|
||||
*
|
||||
* 6. New session creation
|
||||
* Notification about new session.
|
||||
* A notification about new session.
|
||||
* It is reasonable to store unique_id with current session, in order to process duplicated notifications once.
|
||||
*
|
||||
* Causes all older than first_msg_id to be re-sent.
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "td/mtproto/utils.h"
|
||||
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/int_types.h"
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/Slice.h"
|
||||
#include "td/utils/Status.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include "td/utils/as.h"
|
||||
#include "td/utils/crypto.h"
|
||||
#include "td/utils/int_types.h" // for UInt256, UInt128, etc
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/misc.h"
|
||||
#include "td/utils/Random.h"
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "td/telegram/net/NetQueryDispatcher.h"
|
||||
#include "td/telegram/PasswordManager.h"
|
||||
#include "td/telegram/Td.h"
|
||||
#include "td/telegram/UniqueId.h"
|
||||
#include "td/telegram/UpdatesManager.h"
|
||||
|
||||
#include "td/actor/PromiseFuture.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "td/actor/actor.h"
|
||||
#include "td/actor/PromiseFuture.h"
|
||||
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/port/IPAddress.h"
|
||||
#include "td/utils/Slice.h"
|
||||
#include "td/utils/Status.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "td/telegram/AnimationsManager.h"
|
||||
#include "td/telegram/AudiosManager.h"
|
||||
#include "td/telegram/files/FileEncryptionKey.h"
|
||||
#include "td/telegram/files/FileManager.h"
|
||||
#include "td/telegram/Global.h"
|
||||
#include "td/telegram/net/DcId.h"
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "td/telegram/secret_api.h"
|
||||
#include "td/telegram/telegram_api.h"
|
||||
|
||||
#include "td/telegram/files/FileEncryptionKey.h"
|
||||
#include "td/telegram/files/FileManager.h"
|
||||
#include "td/telegram/Global.h"
|
||||
#include "td/telegram/net/DcId.h"
|
||||
|
@ -7,6 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "td/telegram/net/NetQuery.h"
|
||||
#include "td/telegram/SecureStorage.h"
|
||||
#include "td/telegram/SecureValue.h"
|
||||
#include "td/telegram/UserId.h"
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include "td/telegram/SecureValue.h"
|
||||
|
||||
#include "td/telegram/DialogId.h"
|
||||
#include "td/telegram/files/FileEncryptionKey.h"
|
||||
#include "td/telegram/files/FileManager.h"
|
||||
#include "td/telegram/Global.h"
|
||||
#include "td/telegram/misc.h"
|
||||
|
@ -7,7 +7,9 @@
|
||||
#include "td/telegram/files/FileBitmask.h"
|
||||
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/misc.h"
|
||||
#include "td/utils/ScopeGuard.h"
|
||||
|
||||
namespace td {
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "td/telegram/telegram_api.h"
|
||||
|
||||
#include "td/telegram/files/FileEncryptionKey.h"
|
||||
#include "td/telegram/files/FileLoader.h"
|
||||
#include "td/telegram/files/FileLocation.h"
|
||||
#include "td/telegram/net/DcId.h"
|
||||
|
@ -18,7 +18,7 @@ namespace td {
|
||||
namespace secure_storage {
|
||||
class Secret;
|
||||
class ValueHash;
|
||||
}; // namespace secure_storage
|
||||
} // namespace secure_storage
|
||||
|
||||
struct FileEncryptionKey {
|
||||
enum class Type : int32 { None, Secret, Secure };
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "td/actor/PromiseFuture.h"
|
||||
|
||||
#include "td/telegram/files/FileDownloader.h"
|
||||
#include "td/telegram/files/FileEncryptionKey.h"
|
||||
#include "td/telegram/files/FileFromBytes.h"
|
||||
#include "td/telegram/files/FileHashUploader.h"
|
||||
#include "td/telegram/files/FileLocation.h"
|
||||
|
@ -36,7 +36,7 @@
|
||||
namespace td {
|
||||
namespace {
|
||||
constexpr int64 MAX_FILE_SIZE = 1500 * (1 << 20) /* 1500MB */;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
int VERBOSITY_NAME(update_file) = VERBOSITY_NAME(DEBUG);
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
#include "td/telegram/DialogId.h"
|
||||
#include "td/telegram/files/FileDb.h"
|
||||
#include "td/telegram/files/FileEncryptionKey.h"
|
||||
#include "td/telegram/files/FileGenerateManager.h"
|
||||
#include "td/telegram/files/FileId.h"
|
||||
#include "td/telegram/files/FileLoadManager.h"
|
||||
|
@ -7,6 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "td/telegram/DialogId.h"
|
||||
#include "td/telegram/files/FileEncryptionKey.h"
|
||||
#include "td/telegram/files/FileManager.h"
|
||||
#include "td/telegram/Version.h"
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include "td/telegram/files/FileEncryptionKey.h"
|
||||
#include "td/telegram/files/FileLoader.h"
|
||||
#include "td/telegram/files/FileLocation.h"
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/int_types.h"
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/Random.h"
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/int_types.h"
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/misc.h"
|
||||
#include "td/utils/Slice.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
//
|
||||
#pragma once
|
||||
|
||||
#include "td/utils/int_types.h"
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/Slice.h"
|
||||
|
||||
namespace td {
|
||||
|
Reference in New Issue
Block a user