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

Side by Side Diff: chrome/browser/extensions/api/system_info_display/display_info_provider.cc

Issue 18290002: [SystemInfo API] Finish TODOs in SystemInfoProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dev_rewrite_storage_info_api
Patch Set: Update Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/api/system_info_display/display_info_provide r.h" 5 #include "chrome/browser/extensions/api/system_info_display/display_info_provide r.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 const DisplayInfo& DisplayInfoProvider::display_info() const {
10 return info_;
11 }
12
9 // static 13 // static
10 DisplayInfoProvider* DisplayInfoProvider::GetProvider() { 14 DisplayInfoProvider* DisplayInfoProvider::GetProvider() {
11 return DisplayInfoProvider::GetInstance<DisplayInfoProvider>(); 15 return DisplayInfoProvider::GetInstance<DisplayInfoProvider>();
12 } 16 }
13 17
14 } // namespace extensions 18 } // namespace extensions
15 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698