anchor.diff:      'VM'
     ];
   
  -  void _applyPreset() {
  -    switch (_profile) {
  +  void _applyPreset(_Profile profile) {
  +    switch (profile) {
         case _Profile.none:
           _recordedStreams.clear();
           break;
  
positive.code: import 'package:observatory/src/elements/nav/top_menu.dart';
  import 'package:observatory/src/elements/nav/vm_menu.dart';
  
  enum _Profile { none, dart, vm, all, custom }
  
  class TimelinePageElement extends HtmlElement implements Renderable {
    static const tag =
  
negative.code:   }
  
    List<Element> _createProfileSelect() {
      return [
        new SpanElement()
          ..children = (_Profile.values.expand((profile) {
            return [
              new ButtonElement()
                ..text = _profileToString(profile)
                ..onClick.listen((_) {
                  _applyPreset(profile);
                }),
              new SpanElement()..text = ' - '
            ];
          }).toList()
            ..removeLast())
      ];
    }
  
  