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

Side by Side Diff: chrome/browser/prefs/pref_observer_mock.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/prefs/pref_notifier_impl.h ('k') | chrome/browser/prefs/pref_service.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PREFS_PREF_OBSERVER_MOCK_H_ 5 #ifndef CHROME_BROWSER_PREFS_PREF_OBSERVER_MOCK_H_
6 #define CHROME_BROWSER_PREFS_PREF_OBSERVER_MOCK_H_ 6 #define CHROME_BROWSER_PREFS_PREF_OBSERVER_MOCK_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "chrome/browser/prefs/pref_service.h" 10 #include "chrome/browser/prefs/pref_service.h"
12 #include "content/public/browser/notification_details.h" 11 #include "content/public/browser/notification_details.h"
13 #include "content/public/browser/notification_observer.h" 12 #include "content/public/browser/notification_observer.h"
14 #include "content/public/browser/notification_source.h" 13 #include "content/public/browser/notification_source.h"
15 #include "content/public/browser/notification_types.h" 14 #include "content/public/browser/notification_types.h"
16 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
17 16
(...skipping 27 matching lines...) Expand all
45 MOCK_METHOD3(Observe, void(int type, 44 MOCK_METHOD3(Observe, void(int type,
46 const content::NotificationSource& source, 45 const content::NotificationSource& source,
47 const content::NotificationDetails& details)); 46 const content::NotificationDetails& details));
48 47
49 void Expect(const PrefService* prefs, 48 void Expect(const PrefService* prefs,
50 const std::string& pref_name, 49 const std::string& pref_name,
51 const Value* value); 50 const Value* value);
52 }; 51 };
53 52
54 #endif // CHROME_BROWSER_PREFS_PREF_OBSERVER_MOCK_H_ 53 #endif // CHROME_BROWSER_PREFS_PREF_OBSERVER_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_notifier_impl.h ('k') | chrome/browser/prefs/pref_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698