BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / sync_file_system / sync_action.cc
blob0b255f010673aa9e5692e6aa5b452e4797bb7f1f
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
3 // found in the LICENSE file.
5 #include "chrome/browser/sync_file_system/sync_action.h"
7 #include "base/logging.h"
9 namespace sync_file_system {
11 const char* SyncActionToString(SyncAction action) {
12 switch (action) {
13 case SYNC_ACTION_NONE:
14 return "None";
15 case SYNC_ACTION_ADDED:
16 return "Added";
17 case SYNC_ACTION_UPDATED:
18 return "Updated";
19 case SYNC_ACTION_DELETED:
20 return "Deleted";
23 NOTREACHED();
24 return "Unknown SyncAction";
27 } // namespace sync_file_system