diff options
author | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-06 12:05:24 +0000 |
---|---|---|
committer | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-06 12:05:24 +0000 |
commit | d30e8e641cf9f1bbe880328089b229a3286ee05e (patch) | |
tree | 82e63876ff1db54853946cf85852dcdd3dc759c9 /chrome/browser/printing/print_settings.h | |
parent | f9be5380bdd0e731b4e4127990b09781fb9a36e8 (diff) | |
download | chromium_src-d30e8e641cf9f1bbe880328089b229a3286ee05e.zip chromium_src-d30e8e641cf9f1bbe880328089b229a3286ee05e.tar.gz chromium_src-d30e8e641cf9f1bbe880328089b229a3286ee05e.tar.bz2 |
Move the printing cookie from direct atomic operations to AtomicSequenceNumber.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@426 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/print_settings.h')
-rw-r--r-- | chrome/browser/printing/print_settings.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/printing/print_settings.h b/chrome/browser/printing/print_settings.h index 4e9416a..7574f6e 100644 --- a/chrome/browser/printing/print_settings.h +++ b/chrome/browser/printing/print_settings.h @@ -106,7 +106,9 @@ class PrintSettings { // The various overlays (headers and footers). PageOverlays overlays; - // Generates a new cookie to uniquely identify a PrintedDocument. + // Cookie generator. It is used to initialize PrintedDocument with its + // associated PrintSettings, to be sure that each generated PrintedPage is + // correctly associated with its corresponding PrintedDocument. static int NewCookie(); private: @@ -130,11 +132,6 @@ class PrintSettings { // Is the orientation landscape or portrait. bool landscape_; - - // Cookie generator. It is used to initialize PrintedDocument with its - // associated PrintSettings, to be sure that each generated PrintedPage is - // correctly associated with its corresponding PrintedDocument. - static int s_cookie_; }; } // namespace printing |