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

Unified Diff: chrome/browser/extensions/display_info_provider_impl_win.cc

Issue 476103002: Make DisplayInfoProvider an interface (Closed) Base URL: git@github.com:tmpsantos/chromium.git@display_info
Patch Set: Fixed GN and Windows build Created 6 years, 4 months 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
Index: chrome/browser/extensions/display_info_provider_impl_win.cc
diff --git a/chrome/browser/extensions/api/system_display/display_info_provider_win.cc b/chrome/browser/extensions/display_info_provider_impl_win.cc
similarity index 91%
rename from chrome/browser/extensions/api/system_display/display_info_provider_win.cc
rename to chrome/browser/extensions/display_info_provider_impl_win.cc
index 83869217ed3a91cea82eaaafc808f67183c6fc41..fdd16a362a8ed614325eb1255c92dfe20311dd45 100644
--- a/chrome/browser/extensions/api/system_display/display_info_provider_win.cc
+++ b/chrome/browser/extensions/display_info_provider_impl_win.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/api/system_display/display_info_provider.h"
+#include "chrome/browser/extensions/display_info_provider_impl.h"
#include <windows.h>
@@ -51,14 +51,14 @@ BOOL CALLBACK EnumMonitorCallback(HMONITOR monitor,
} // namespace
-bool DisplayInfoProvider::SetInfo(const std::string& display_id,
+bool DisplayInfoProviderImpl::SetInfo(const std::string& display_id,
const api::system_display::DisplayProperties& info,
std::string* error) {
*error = "Not implemented";
return false;
}
-void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform(
+void DisplayInfoProviderImpl::UpdateDisplayUnitInfoForPlatform(
const gfx::Display& display,
extensions::api::system_display::DisplayUnitInfo* unit) {
DisplayInfo all_displays;

Powered by Google App Engine
This is Rietveld 408576698