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

Unified Diff: extensions/browser/api/system_display/display_info_provider.h

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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: extensions/browser/api/system_display/display_info_provider.h
diff --git a/extensions/browser/api/system_display/display_info_provider.h b/extensions/browser/api/system_display/display_info_provider.h
index 7dfb88bcc02ec77fe7fcb06a15ee6fc9d1ff7611..d66dbb8159c2f0027293c6e0b89451c73ad1feec 100644
--- a/extensions/browser/api/system_display/display_info_provider.h
+++ b/extensions/browser/api/system_display/display_info_provider.h
@@ -18,14 +18,14 @@ class Screen;
namespace extensions {
-namespace core_api {
+namespace api {
namespace system_display {
struct DisplayProperties;
struct DisplayUnitInfo;
}
}
-typedef std::vector<linked_ptr<core_api::system_display::DisplayUnitInfo> >
+typedef std::vector<linked_ptr<api::system_display::DisplayUnitInfo>>
DisplayInfo;
class DisplayInfoProvider {
@@ -44,7 +44,7 @@ class DisplayInfoProvider {
// the display was successfully updated. On failure, no display parameters
// should be changed, and |error| should be set to the error string.
virtual bool SetInfo(const std::string& display_id,
- const core_api::system_display::DisplayProperties& info,
+ const api::system_display::DisplayProperties& info,
std::string* error) = 0;
// Get the screen that is always active, which will be used for monitoring
@@ -63,7 +63,7 @@ class DisplayInfoProvider {
// platform specific method.
virtual void UpdateDisplayUnitInfoForPlatform(
const gfx::Display& display,
- core_api::system_display::DisplayUnitInfo* unit) = 0;
+ api::system_display::DisplayUnitInfo* unit) = 0;
DISALLOW_COPY_AND_ASSIGN(DisplayInfoProvider);
};

Powered by Google App Engine
This is Rietveld 408576698