tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Atom.h (436B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 #ifndef ATOM_H_
      6 #define ATOM_H_
      7 
      8 namespace mozilla {
      9 
     10 class Atom {
     11 public:
     12  Atom() : mValid(false) {}
     13  virtual bool IsValid() const { return mValid; }
     14 
     15 protected:
     16  bool mValid;
     17 };
     18 
     19 }  // namespace mozilla
     20 
     21 #endif  // ATOM_H_