AFAIK, a "polished up" version of the theory of Riemann integration can be crafted by means of the topological concept of net, or generalized sequence (see Moore-Smith Convergence on Wikipedia).
It goes on the following lines: take a function $f\colon [a, b]\to \mathbb{R}$ and introduce the set $S$ consisting of all pairs $(\mathcal{D}, \xi)$, where:
- $\mathcal{D}=\{[x_1, x_2]\ldots[x_{\omega}, x_{\omega+1}]\}$ is a partition of $[a, b]$;
- $\xi=\{\xi_1 \in [x_1, x_2], \ldots \xi_{\omega}\in [x_{\omega}, x_{\omega+1}]\}$ is a choice of points in $[a, b]$ subordinate to the partition $\mathcal{D}$.
For every pair $(\mathcal{D}, \xi)\in S$ we define the corresponding integral sum:
$$\sigma_f(\mathcal{D}, \xi)=\sum_{r=1}^\omega f(\xi_r)(x_{r+1}-x_r).$$
$f$ is then said to be integrable if $\sigma_f(\mathcal{D}, \xi)$ is convergent as the partition norm $\lVert \mathcal{D}\rVert=\max(x_{r+1}-x_r)$ approaches zero, a phrase which is given precise meaning in Moore-Smith's theory of convergence. If this is the case, then we can define
$$\int_a^b f(x)\, dx=\lim_{\lVert \mathcal{D}\rVert \to 0} \sigma_f(\mathcal{D}, \xi).$$
I believe that this construction is exactly what the OP was looking for. Unfortunately the only reference I know is Italian: Analisi matematica 1 by Antonio Avantaggiati, Ambrosiana editrice, 1994.
EDIT The construction can also be found in Kelley's book General Topology: it is Problem H of chapter 2. (Thanks to Michael Greinecker for pointing this out).