Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1685)

Unified Diff: ui/gl/gpu_switching_manager.h

Issue 1545113002: Switch to standard integer types in ui/gl/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_version_info.h ('k') | ui/gl/gpu_switching_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gpu_switching_manager.h
diff --git a/ui/gl/gpu_switching_manager.h b/ui/gl/gpu_switching_manager.h
index 6327798132bf5dca1cd7cab7a4ca7717185d9f80..7849d4acb716c67f1ccd6dcd15681c58b4e3d4b2 100644
--- a/ui/gl/gpu_switching_manager.h
+++ b/ui/gl/gpu_switching_manager.h
@@ -5,10 +5,14 @@
#ifndef UI_GL_GPU_SWITCHING_MANAGER_H_
#define UI_GL_GPU_SWITCHING_MANAGER_H_
+#include <stdint.h>
+
#include <vector>
+#include "base/macros.h"
#include "base/memory/singleton.h"
#include "base/observer_list.h"
+#include "build/build_config.h"
#include "ui/gl/gl_export.h"
#include "ui/gl/gpu_preference.h"
#include "ui/gl/gpu_switching_observer.h"
@@ -38,7 +42,7 @@ class GL_EXPORT GpuSwitchingManager {
// Sets the vendor IDs of the GPUs on the system. The length of this
// vector defines the count of GPUs.
- void SetGpuVendorIds(const std::vector<uint32>& vendor_ids);
+ void SetGpuVendorIds(const std::vector<uint32_t>& vendor_ids);
void AddObserver(GpuSwitchingObserver* observer);
void RemoveObserver(GpuSwitchingObserver* observer);
@@ -63,7 +67,7 @@ class GL_EXPORT GpuSwitchingManager {
gfx::GpuPreference gpu_switching_option_;
bool gpu_switching_option_set_;
- std::vector<uint32> vendor_ids_;
+ std::vector<uint32_t> vendor_ids_;
bool supports_dual_gpus_;
bool supports_dual_gpus_set_;
« no previous file with comments | « ui/gl/gl_version_info.h ('k') | ui/gl/gpu_switching_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698