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

Side by Side Diff: src/pkg/power_management/power_management_extension_linux.cc

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 #if defined(FLETCH_TARGET_OS_LINUX) 5 #if defined(DARTINO_TARGET_OS_LINUX)
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 10
11 #include "include/dart_api.h" 11 #include "include/dart_api.h"
12 #include "include/dart_native_api.h" 12 #include "include/dart_native_api.h"
13 13
14 #include "power_management_extension.h" 14 #include "power_management_extension.h"
15 15
16 // Dummy implementation for Linux. 16 // Dummy implementation for Linux.
17 int64_t HandleDisableSleep(const char* reason) { 17 int64_t HandleDisableSleep(const char* reason) {
18 // Currently not implemented on Linux. 18 // Currently not implemented on Linux.
19 return 0; 19 return 0;
20 } 20 }
21 21
22 // Dummy implementation for Linux. 22 // Dummy implementation for Linux.
23 void HandleEnableSleep(int64_t disable_id) { 23 void HandleEnableSleep(int64_t disable_id) {
24 // Currently not implemented on Linux. 24 // Currently not implemented on Linux.
25 } 25 }
26 26
27 #endif // FLETCH_TARGET_OS_LINUX 27 #endif // DARTINO_TARGET_OS_LINUX
OLDNEW
« no previous file with comments | « src/pkg/mdns/mdns_extension_macos.cc ('k') | src/pkg/power_management/power_management_extension_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698