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

Side by Side Diff: chrome/browser/sync/profile_sync_service_mock.h

Issue 10689154: Remove #pragma once from chrome/browser/sync (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
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_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
12 #include "base/string16.h" 11 #include "base/string16.h"
13 #include "chrome/browser/sync/glue/change_processor.h" 12 #include "chrome/browser/sync/glue/change_processor.h"
14 #include "chrome/browser/sync/glue/data_type_controller.h" 13 #include "chrome/browser/sync/glue/data_type_controller.h"
15 #include "chrome/browser/sync/profile_sync_service.h" 14 #include "chrome/browser/sync/profile_sync_service.h"
16 #include "chrome/common/net/gaia/google_service_auth_error.h" 15 #include "chrome/common/net/gaia/google_service_auth_error.h"
17 #include "chrome/test/base/testing_profile.h" 16 #include "chrome/test/base/testing_profile.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 MOCK_CONST_METHOD0(IsPassphraseRequired, bool()); 95 MOCK_CONST_METHOD0(IsPassphraseRequired, bool());
97 MOCK_CONST_METHOD0(IsPassphraseRequiredForDecryption, bool()); 96 MOCK_CONST_METHOD0(IsPassphraseRequiredForDecryption, bool());
98 MOCK_CONST_METHOD0(IsUsingSecondaryPassphrase, bool()); 97 MOCK_CONST_METHOD0(IsUsingSecondaryPassphrase, bool());
99 98
100 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase)); 99 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase));
101 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase, 100 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase,
102 PassphraseType type)); 101 PassphraseType type));
103 }; 102 };
104 103
105 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_ 104 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_harness.h ('k') | chrome/browser/sync/profile_sync_service_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698