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

Side by Side Diff: chrome/browser/sync/util/extensions_activity_monitor.cc

Issue 3581014: Rename ChromeThread to BrowserThread Part3: (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 2 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 | « chrome/browser/sync/sessions/sync_session_context.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/util/extensions_activity_monitor.h" 5 #include "chrome/browser/sync/util/extensions_activity_monitor.h"
6 6
7 #include "base/task.h" 7 #include "base/task.h"
8 #include "chrome/browser/chrome_thread.h" 8 #include "chrome/browser/browser_thread.h"
9 #include "chrome/browser/extensions/extension_bookmarks_module.h" 9 #include "chrome/browser/extensions/extension_bookmarks_module.h"
10 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
11 #include "chrome/common/notification_service.h" 11 #include "chrome/common/notification_service.h"
12 12
13 namespace browser_sync { 13 namespace browser_sync {
14 14
15 namespace { 15 namespace {
16 // A helper task to register an ExtensionsActivityMonitor as an observer of 16 // A helper task to register an ExtensionsActivityMonitor as an observer of
17 // events on the UI thread (even though the monitor may live on another thread). 17 // events on the UI thread (even though the monitor may live on another thread).
18 // This liberates ExtensionsActivityMonitor from having to be ref counted. 18 // This liberates ExtensionsActivityMonitor from having to be ref counted.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 f->name() == "bookmarks.create" || 90 f->name() == "bookmarks.create" ||
91 f->name() == "bookmarks.removeTree" || 91 f->name() == "bookmarks.removeTree" ||
92 f->name() == "bookmarks.remove") { 92 f->name() == "bookmarks.remove") {
93 Record& record = records_[extension->id()]; 93 Record& record = records_[extension->id()];
94 record.extension_id = extension->id(); 94 record.extension_id = extension->id();
95 record.bookmark_write_count++; 95 record.bookmark_write_count++;
96 } 96 }
97 } 97 }
98 98
99 } // namespace browser_sync 99 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/sessions/sync_session_context.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698