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

Side by Side Diff: trunk/src/chrome/browser/user_style_sheet_watcher.h

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 #ifndef CHROME_BROWSER_USER_STYLE_SHEET_WATCHER_H_ 5 #ifndef CHROME_BROWSER_USER_STYLE_SHEET_WATCHER_H_
6 #define CHROME_BROWSER_USER_STYLE_SHEET_WATCHER_H_ 6 #define CHROME_BROWSER_USER_STYLE_SHEET_WATCHER_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_path_watcher.h" 9 #include "base/files/file_path_watcher.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/task/sequenced_task_runner_helpers.h" 12 #include "base/sequenced_task_runner_helpers.h"
13 #include "chrome/browser/profiles/refcounted_profile_keyed_service.h" 13 #include "chrome/browser/profiles/refcounted_profile_keyed_service.h"
14 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
15 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 17
18 class Profile; 18 class Profile;
19 class UserStyleSheetLoader; 19 class UserStyleSheetLoader;
20 20
21 // Watches the user style sheet file and triggers reloads on the file thread 21 // Watches the user style sheet file and triggers reloads on the file thread
22 // whenever the file changes. 22 // whenever the file changes.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 // Watches for changes to the css file so we can reload the style sheet. 55 // Watches for changes to the css file so we can reload the style sheet.
56 scoped_ptr<base::FilePathWatcher> file_watcher_; 56 scoped_ptr<base::FilePathWatcher> file_watcher_;
57 57
58 content::NotificationRegistrar registrar_; 58 content::NotificationRegistrar registrar_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(UserStyleSheetWatcher); 60 DISALLOW_COPY_AND_ASSIGN(UserStyleSheetWatcher);
61 }; 61 };
62 62
63 #endif // CHROME_BROWSER_USER_STYLE_SHEET_WATCHER_H_ 63 #endif // CHROME_BROWSER_USER_STYLE_SHEET_WATCHER_H_
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/ui/webui/quota_internals_proxy.h ('k') | trunk/src/chrome/browser/webdata/web_data_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698