  We construct a framework for the study of fluctuations in the nonequilibrium
relaxation of glassy systems with and without quenched disorder. We study two
types of two-time local correlators with the aim of characterizing the
heterogeneous evolution: in one case we average the local correlators over
histories of the thermal noise, in the other case we simply coarse-grain the
local correlators. We explain why the former describe the fingerprint of
quenched disorder when it exists, while the latter are linked to noise-induced
mesoscopic fluctuations. We predict constraints on the pdfs of the fluctuations
of the coarse-grained quantities. We show that locally defined correlations and
responses are connected by a generalized local out-of-equilibrium
fluctuation-dissipation relation. We argue that large-size heterogeneities in
the age of the system survive in the long-time limit. The invariance of the
theory under reparametrizations of time underlies these results. We relate the
pdfs of local coarse-grained quantities and the theory of dynamic random
manifolds. We define a two-time dependent correlation length from the spatial
decay of the fluctuations in the two-time local functions. We present numerical
tests performed on disordered spin models in finite and infinite dimensions.
Finally, we explain how these ideas can be applied to the analysis of the
dynamics of other glassy systems that can be either spin models without
disorder or atomic and molecular glassy systems.
