| Index: extensions/browser/process_manager.h
|
| diff --git a/extensions/browser/process_manager.h b/extensions/browser/process_manager.h
|
| index c93bd80705d310273019a731b4e7be5e2eed6faa..65ee76f8a1d2ccfda3c83d1f336cd8551aed3a15 100644
|
| --- a/extensions/browser/process_manager.h
|
| +++ b/extensions/browser/process_manager.h
|
| @@ -5,12 +5,15 @@
|
| #ifndef EXTENSIONS_BROWSER_PROCESS_MANAGER_H_
|
| #define EXTENSIONS_BROWSER_PROCESS_MANAGER_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <map>
|
| #include <set>
|
| #include <string>
|
|
|
| #include "base/callback.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| @@ -128,7 +131,8 @@ class ProcessManager : public KeyedService,
|
|
|
| // Handles a response to the ShouldSuspend message, used for lazy background
|
| // pages.
|
| - void OnShouldSuspendAck(const std::string& extension_id, uint64 sequence_id);
|
| + void OnShouldSuspendAck(const std::string& extension_id,
|
| + uint64_t sequence_id);
|
|
|
| // Same as above, for the Suspend message.
|
| void OnSuspendAck(const std::string& extension_id);
|
| @@ -136,9 +140,9 @@ class ProcessManager : public KeyedService,
|
| // Tracks network requests for a given RenderFrameHost, used to know
|
| // when network activity is idle for lazy background pages.
|
| void OnNetworkRequestStarted(content::RenderFrameHost* render_frame_host,
|
| - uint64 request_id);
|
| + uint64_t request_id);
|
| void OnNetworkRequestDone(content::RenderFrameHost* render_frame_host,
|
| - uint64 request_id);
|
| + uint64_t request_id);
|
|
|
| // Prevents |extension|'s background page from being closed and sends the
|
| // onSuspendCanceled() event to it.
|
| @@ -258,10 +262,10 @@ class ProcessManager : public KeyedService,
|
| // These are called when the extension transitions between idle and active.
|
| // They control the process of closing the background page when idle.
|
| void OnLazyBackgroundPageIdle(const std::string& extension_id,
|
| - uint64 sequence_id);
|
| + uint64_t sequence_id);
|
| void OnLazyBackgroundPageActive(const std::string& extension_id);
|
| void CloseLazyBackgroundPageNow(const std::string& extension_id,
|
| - uint64 sequence_id);
|
| + uint64_t sequence_id);
|
|
|
| void OnDevToolsStateChanged(content::DevToolsAgentHost*, bool attached);
|
|
|
| @@ -315,7 +319,7 @@ class ProcessManager : public KeyedService,
|
| //
|
| // This counter provides unique IDs even when BackgroundPageData objects are
|
| // reset.
|
| - uint64 last_background_close_sequence_id_;
|
| + uint64_t last_background_close_sequence_id_;
|
|
|
| // Tracks pending network requests by opaque ID. This is used to ensure proper
|
| // keepalive counting in response to request status updates; e.g., if an
|
|
|