// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_H_ #define CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_H_ #include <string> #include "base/files/file_path.h" #include "base/memory/raw_ptr.h" #include "base/task/sequenced_task_runner.h" #include "extensions/browser/extension_creator.h" namespace extensions { // Manages packing an extension on the file thread and reporting the result // back to the UI. // Ownership note: In "asynchronous" mode, |Client| has to make sure this // class's instances are kept alive until OnPackSuccess|OnPackFailure is called. // Therefore this class assumes that posting task with base::Unretained(this) // is safe. class PackExtensionJob { … }; } // namespace extensions #endif // CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_H_