PrinterState 215 cloud_print/gcp20/prototype/printer.cc PrinterState::ConfirmationState conf_state = state_.confirmation_state; PrinterState 216 cloud_print/gcp20/prototype/printer.cc if (state_.registration_state == PrinterState::REGISTRATION_ERROR || PrinterState 217 cloud_print/gcp20/prototype/printer.cc conf_state == PrinterState::CONFIRMATION_TIMEOUT || PrinterState 218 cloud_print/gcp20/prototype/printer.cc conf_state == PrinterState::CONFIRMATION_DISCARDED) { PrinterState 219 cloud_print/gcp20/prototype/printer.cc state_ = PrinterState(); PrinterState 226 cloud_print/gcp20/prototype/printer.cc if (state_.registration_state != PrinterState::UNREGISTERED) PrinterState 231 cloud_print/gcp20/prototype/printer.cc state_ = PrinterState(); PrinterState 233 cloud_print/gcp20/prototype/printer.cc state_.registration_state = PrinterState::REGISTRATION_STARTED; PrinterState 236 cloud_print/gcp20/prototype/printer.cc state_.confirmation_state = PrinterState::CONFIRMATION_CONFIRMED; PrinterState 262 cloud_print/gcp20/prototype/printer.cc if (state_.registration_state != PrinterState::REGISTRATION_STARTED && PrinterState 264 cloud_print/gcp20/prototype/printer.cc PrinterState::REGISTRATION_CLAIM_TOKEN_READY) { PrinterState 270 cloud_print/gcp20/prototype/printer.cc if (state_.confirmation_state != PrinterState::CONFIRMATION_CONFIRMED) PrinterState 276 cloud_print/gcp20/prototype/printer.cc if (state_.registration_state == PrinterState::REGISTRATION_STARTED) PrinterState 279 cloud_print/gcp20/prototype/printer.cc DCHECK_EQ(state_.confirmation_state, PrinterState::CONFIRMATION_CONFIRMED); PrinterState 281 cloud_print/gcp20/prototype/printer.cc PrinterState::REGISTRATION_CLAIM_TOKEN_READY); PrinterState 295 cloud_print/gcp20/prototype/printer.cc if (state_.registration_state != PrinterState::REGISTRATION_CLAIM_TOKEN_READY) PrinterState 300 cloud_print/gcp20/prototype/printer.cc if (state_.confirmation_state != PrinterState::CONFIRMATION_CONFIRMED) PrinterState 303 cloud_print/gcp20/prototype/printer.cc state_.registration_state = PrinterState::REGISTRATION_COMPLETING; PrinterState 318 cloud_print/gcp20/prototype/printer.cc if (state_.registration_state == PrinterState::UNREGISTERED) PrinterState 323 cloud_print/gcp20/prototype/printer.cc state_ = PrinterState(); PrinterState 331 cloud_print/gcp20/prototype/printer.cc DCHECK_EQ(state_.registration_state, PrinterState::REGISTRATION_ERROR) PrinterState 375 cloud_print/gcp20/prototype/printer.cc return state_.registration_state == PrinterState::REGISTERED; PrinterState 434 cloud_print/gcp20/prototype/printer.cc state_.registration_state = PrinterState::REGISTRATION_CLAIM_TOKEN_READY; PrinterState 445 cloud_print/gcp20/prototype/printer.cc state_.registration_state = PrinterState::REGISTERED; PrinterState 670 cloud_print/gcp20/prototype/printer.cc state_ = PrinterState(); PrinterState 692 cloud_print/gcp20/prototype/printer.cc state_.registration_state = PrinterState::REGISTRATION_ERROR; PrinterState 703 cloud_print/gcp20/prototype/printer.cc if (state_.registration_state != PrinterState::UNREGISTERED && PrinterState 708 cloud_print/gcp20/prototype/printer.cc if (state_.registration_state == PrinterState::REGISTRATION_ERROR) PrinterState 720 cloud_print/gcp20/prototype/printer.cc state_.confirmation_state = PrinterState::CONFIRMATION_TIMEOUT; PrinterState 728 cloud_print/gcp20/prototype/printer.cc state_.confirmation_state = PrinterState::CONFIRMATION_CONFIRMED; PrinterState 731 cloud_print/gcp20/prototype/printer.cc state_.confirmation_state = PrinterState::CONFIRMATION_DISCARDED; PrinterState 774 cloud_print/gcp20/prototype/printer.cc state_ = PrinterState(); PrinterState 808 cloud_print/gcp20/prototype/printer.cc state_ = PrinterState(); PrinterState 873 cloud_print/gcp20/prototype/printer.cc PrinterState::ConfirmationState state) { PrinterState 875 cloud_print/gcp20/prototype/printer.cc case PrinterState::CONFIRMATION_PENDING: PrinterState 877 cloud_print/gcp20/prototype/printer.cc case PrinterState::CONFIRMATION_DISCARDED: PrinterState 879 cloud_print/gcp20/prototype/printer.cc case PrinterState::CONFIRMATION_CONFIRMED: PrinterState 882 cloud_print/gcp20/prototype/printer.cc case PrinterState::CONFIRMATION_TIMEOUT: PrinterState 201 cloud_print/gcp20/prototype/printer.h PrinterState::ConfirmationState state); PrinterState 214 cloud_print/gcp20/prototype/printer.h PrinterState state_; PrinterState 34 cloud_print/gcp20/prototype/printer_state.cc PrinterState::PrinterState() PrinterState 39 cloud_print/gcp20/prototype/printer_state.cc PrinterState::~PrinterState() { PrinterState 44 cloud_print/gcp20/prototype/printer_state.cc bool SaveToFile(const base::FilePath& path, const PrinterState& state) { PrinterState 46 cloud_print/gcp20/prototype/printer_state.cc if (state.registration_state == PrinterState::REGISTERED) { PrinterState 81 cloud_print/gcp20/prototype/printer_state.cc bool LoadFromFile(const base::FilePath& path, PrinterState* state) { PrinterState 162 cloud_print/gcp20/prototype/printer_state.cc *state = PrinterState(); PrinterState 163 cloud_print/gcp20/prototype/printer_state.cc state->registration_state = PrinterState::REGISTERED; PrinterState 39 cloud_print/gcp20/prototype/printer_state.h PrinterState(); PrinterState 40 cloud_print/gcp20/prototype/printer_state.h ~PrinterState(); PrinterState 67 cloud_print/gcp20/prototype/printer_state.h bool SaveToFile(const base::FilePath& path, const PrinterState& state); PrinterState 70 cloud_print/gcp20/prototype/printer_state.h bool LoadFromFile(const base::FilePath& path, PrinterState* state);