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

Side by Side Diff: chrome/browser/sync/glue/chrome_extensions_activity_monitor.cc

Issue 11826048: Revert 176015 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/sync/glue/chrome_extensions_activity_monitor.h" 5 #include "chrome/browser/sync/glue/chrome_extensions_activity_monitor.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h" 8 #include "chrome/browser/extensions/api/bookmarks/bookmark_api.h"
9 #include "chrome/common/chrome_notification_types.h" 9 #include "chrome/common/chrome_notification_types.h"
10 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
11 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
12 #include "content/public/browser/notification_service.h" 12 #include "content/public/browser/notification_service.h"
13 13
14 using content::BrowserThread; 14 using content::BrowserThread;
15 15
16 namespace browser_sync { 16 namespace browser_sync {
17 17
18 ChromeExtensionsActivityMonitor::ChromeExtensionsActivityMonitor() { 18 ChromeExtensionsActivityMonitor::ChromeExtensionsActivityMonitor() {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 f->name() == "bookmarks.create" || 60 f->name() == "bookmarks.create" ||
61 f->name() == "bookmarks.removeTree" || 61 f->name() == "bookmarks.removeTree" ||
62 f->name() == "bookmarks.remove") { 62 f->name() == "bookmarks.remove") {
63 Record& record = records_[extension->id()]; 63 Record& record = records_[extension->id()];
64 record.extension_id = extension->id(); 64 record.extension_id = extension->id();
65 record.bookmark_write_count++; 65 record.bookmark_write_count++;
66 } 66 }
67 } 67 }
68 68
69 } // namespace browser_sync 69 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/sync/glue/chrome_extensions_activity_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698