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

Side by Side Diff: chrome/browser/user_style_sheet_watcher.cc

Issue 18640003: Updates some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « chrome/browser/user_data_dir_extractor_win_browsertest.cc ('k') | no next file » | 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) 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/user_style_sheet_watcher.h" 5 #include "chrome/browser/user_style_sheet_watcher.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/common/chrome_notification_types.h" 11 #include "chrome/browser/chrome_notification_types.h"
12 #include "content/public/browser/notification_service.h" 12 #include "content/public/browser/notification_service.h"
13 #include "content/public/browser/notification_types.h" 13 #include "content/public/browser/notification_types.h"
14 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
15 15
16 using ::base::FilePathWatcher; 16 using ::base::FilePathWatcher;
17 using content::BrowserThread; 17 using content::BrowserThread;
18 using content::WebContents; 18 using content::WebContents;
19 19
20 namespace { 20 namespace {
21 21
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 if (profile_->IsSameProfile(Profile::FromBrowserContext( 189 if (profile_->IsSameProfile(Profile::FromBrowserContext(
190 content::Source<WebContents>(source)->GetBrowserContext()))) { 190 content::Source<WebContents>(source)->GetBrowserContext()))) {
191 loader_->NotifyLoaded(); 191 loader_->NotifyLoaded();
192 registrar_.RemoveAll(); 192 registrar_.RemoveAll();
193 } 193 }
194 } 194 }
195 195
196 void UserStyleSheetWatcher::ShutdownOnUIThread() { 196 void UserStyleSheetWatcher::ShutdownOnUIThread() {
197 registrar_.RemoveAll(); 197 registrar_.RemoveAll();
198 } 198 }
OLDNEW
« no previous file with comments | « chrome/browser/user_data_dir_extractor_win_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698