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

Side by Side Diff: Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp

Issue 23672027: Rename OS(WINDOWS) to OS(WIN) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | Source/config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007-2009 Google Inc. All rights reserved. 2 * Copyright (C) 2007-2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void V8InspectorFrontendHost::platformMethodCustom(const v8::FunctionCallbackInf o<v8::Value>& args) 45 void V8InspectorFrontendHost::platformMethodCustom(const v8::FunctionCallbackInf o<v8::Value>& args)
46 { 46 {
47 #if OS(MACOSX) 47 #if OS(MACOSX)
48 v8SetReturnValue(args, v8::String::NewSymbol("mac")); 48 v8SetReturnValue(args, v8::String::NewSymbol("mac"));
49 #elif OS(LINUX) 49 #elif OS(LINUX)
50 v8SetReturnValue(args, v8::String::NewSymbol("linux")); 50 v8SetReturnValue(args, v8::String::NewSymbol("linux"));
51 #elif OS(FREEBSD) 51 #elif OS(FREEBSD)
52 v8SetReturnValue(args, v8::String::NewSymbol("freebsd")); 52 v8SetReturnValue(args, v8::String::NewSymbol("freebsd"));
53 #elif OS(OPENBSD) 53 #elif OS(OPENBSD)
54 v8SetReturnValue(args, v8::String::NewSymbol("openbsd")); 54 v8SetReturnValue(args, v8::String::NewSymbol("openbsd"));
55 #elif OS(WINDOWS) 55 #elif OS(WIN)
56 v8SetReturnValue(args, v8::String::NewSymbol("windows")); 56 v8SetReturnValue(args, v8::String::NewSymbol("windows"));
57 #else 57 #else
58 v8SetReturnValue(args, v8::String::NewSymbol("unknown")); 58 v8SetReturnValue(args, v8::String::NewSymbol("unknown"));
59 #endif 59 #endif
60 } 60 }
61 61
62 void V8InspectorFrontendHost::portMethodCustom(const v8::FunctionCallbackInfo<v8 ::Value>&) 62 void V8InspectorFrontendHost::portMethodCustom(const v8::FunctionCallbackInfo<v8 ::Value>&)
63 { 63 {
64 } 64 }
65 65
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 histogramEnumeration("DevTools.PanelShown", args, 20); 144 histogramEnumeration("DevTools.PanelShown", args, 20);
145 } 145 }
146 146
147 void V8InspectorFrontendHost::recordSettingChangedMethodCustom(const v8::Functio nCallbackInfo<v8::Value>& args) 147 void V8InspectorFrontendHost::recordSettingChangedMethodCustom(const v8::Functio nCallbackInfo<v8::Value>& args)
148 { 148 {
149 histogramEnumeration("DevTools.SettingChanged", args, 100); 149 histogramEnumeration("DevTools.SettingChanged", args, 100);
150 } 150 }
151 151
152 } // namespace WebCore 152 } // namespace WebCore
153 153
OLDNEW
« no previous file with comments | « no previous file | Source/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698