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

Side by Side Diff: extensions/browser/api/system_display/system_display_api.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "extensions/browser/api/system_display/system_display_api.h" 5 #include "extensions/browser/api/system_display/system_display_api.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "build/build_config.h"
9 #include "extensions/browser/api/system_display/display_info_provider.h" 10 #include "extensions/browser/api/system_display/display_info_provider.h"
10 #include "extensions/common/api/system_display.h" 11 #include "extensions/common/api/system_display.h"
11 12
12 #if defined(OS_CHROMEOS) 13 #if defined(OS_CHROMEOS)
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "extensions/common/manifest_handlers/kiosk_mode_info.h" 15 #include "extensions/common/manifest_handlers/kiosk_mode_info.h"
15 #include "ui/gfx/screen.h" 16 #include "ui/gfx/screen.h"
16 #endif 17 #endif
17 18
18 namespace extensions { 19 namespace extensions {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 return false; 58 return false;
58 #else 59 #else
59 scoped_ptr<api::system_display::EnableUnifiedDesktop::Params> params( 60 scoped_ptr<api::system_display::EnableUnifiedDesktop::Params> params(
60 api::system_display::EnableUnifiedDesktop::Params::Create(*args_)); 61 api::system_display::EnableUnifiedDesktop::Params::Create(*args_));
61 DisplayInfoProvider::Get()->EnableUnifiedDesktop(params->enabled); 62 DisplayInfoProvider::Get()->EnableUnifiedDesktop(params->enabled);
62 return true; 63 return true;
63 #endif 64 #endif
64 } 65 }
65 66
66 } // namespace extensions 67 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698