#include "quiche/http2/adapter/window_manager.h"
#include <utility>
#include "quiche/common/platform/api/quiche_bug_tracker.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace http2 {
namespace adapter {
bool DefaultShouldWindowUpdateFn(int64_t limit, int64_t window, int64_t delta) { … }
WindowManager::WindowManager(int64_t window_size_limit,
WindowUpdateListener listener,
ShouldWindowUpdateFn should_window_update_fn,
bool update_window_on_notify)
: … { … }
void WindowManager::OnWindowSizeLimitChange(const int64_t new_limit) { … }
void WindowManager::SetWindowSizeLimit(int64_t new_limit) { … }
bool WindowManager::MarkDataBuffered(int64_t bytes) { … }
void WindowManager::MarkDataFlushed(int64_t bytes) { … }
void WindowManager::MaybeNotifyListener() { … }
}
}